annotationreader

Config annotation 使用 Scala 宏特性实现配置项映射 示例代码: import com.wacai.config.annotation._ class Server { @conf val port = 0 } // application.conf server { port = 8080 } //@conf will let scala compile to transform val port = 0 to : val port = config.getInt("server.port")...

加载中
加载中

{{o.href}}

{{o.content | formatHtml}}

{{o.author.name}}
{{o.pubDate | formatDate}}
{{parseInt(o.viewCount) | bigNumberTransform}}

暂无相关内容

返回顶部
顶部