问题描述
我有这样的结构:
git clone git@github.com:mattroberts297/hello_actix_rusoto.git
cd hello_actix_rusoto
docker-compose up -d
AWS_REGION=local cargo run &
curl -v 'http://127.0.0.1:8080/tables'
它的问题是我找不到访问“root/parent”对象的方法来重用像 fooParent {
age = 47
}
barParent {
age = 27
}
foo = ${fooParent} {
myName = "foo"
bar = ${barParent} {
"childBar" {
parentName = ${foo.myName}
}
}
}
这样的参数。我如何使用 Hocon 做到这一点?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)