在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:sagikazarmark/modern-go-application开源软件地址:https://github.com/sagikazarmark/modern-go-application开源编程语言:Go 53.6%开源软件介绍:Modern Go ApplicationGo application boilerplate and example applying modern practices This repository tries to collect the best practices of application development using Go language. In addition to the language specific details, it also implements various language independent practices. Some of the areas Modern Go Application touches:
To help adopting these practices, this repository also serves as a boilerplate for new applications. Features
First stepsTo create a new application from the boilerplate clone this repository (if you haven't done already) into your GOPATH then execute the following: chmod +x init.sh && ./init.sh
? Package name (github.com/sagikazarmark/modern-go-application)
? Project name (modern-go-application)
? Binary name (modern-go-application)
? Service name (modern-go-application)
? Friendly service name (Modern Go Application)
? Update README (Y/n)
? Remove init script (y/N) y It updates every import path and name in the repository to your project's values. Review and commit the changes. Load generationTo test or demonstrate the application it comes with a simple load generation tool. You can use it to test the example endpoints and generate some load (for example in order to fill dashboards with data). Follow the instructions in etc/loadgen. InspirationSee INSPIRATION.md for links to articles, projects, code examples that somehow inspired me while working on this project. LicenseThe MIT License (MIT). Please see License File for more information. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论