Home > other >  Go more than web project collaborative development
Go more than web project collaborative development

Time:09-15

Development before Java spring projects, collaborative development, can write your own class files alone, not many people edit the same file, it is better to avoid conflict, and more, decoupling,
Go the web project, need in the main. Go register each routing, everyone needs in the main. Go to add the following the
HTTP. HandleFunc ("/", handleHello)
HTTP. HandleFunc ("/hello, handleHello)
Ever does not need to write each url mapping is in the main. The method to add the code above go or framework,

CodePudding user response:

Use beego framework, this is the domestic use of more go framework, the document is complete, using the native method and a lot of things to their own planning is good,

CodePudding user response:

Just contact the go, framework also not familiar with, but how do you feel this kind of circumstance can use interface {} and reflect to solve, use a configuration file or a map

CodePudding user response:

The router divided into modules, shall we

CodePudding user response:

Must be good modules, such as special function module, routing module, so why don't they?

CodePudding user response:

Group, the module
  • Related