摘要: router.go myModules.go userController.go 阅读全文
posted @ 2019-05-02 11:20 刘大飞 阅读(1314) 评论(0) 推荐(0) 编辑
摘要: golang语言中没有继承,但是可以依靠组合来模拟继承和多态。 但是,这样模拟出来的继承是有局限的,也就是说:在需要多态的时候,需要小心。 阅读全文
posted @ 2019-05-02 11:01 刘大飞 阅读(506) 评论(0) 推荐(0) 编辑
摘要: app.conf: 阅读全文
posted @ 2019-05-02 10:38 刘大飞 阅读(324) 评论(0) 推荐(0) 编辑