go的接口
1、直接执行
app.go --type a
对于这种形式可以采用flag的形式进行,参考:
wordPtr := flag.String("word", "foo", "a string")
https://studygolang.com/articles/25754?fr=sidebar
2、restful接口可以采用gin框架
https://www.jianshu.com/p/98965b3ff638
---当才华撑不起你的野心的时候,请努力!---跑起来。