golang-templates / seed Goto Github PK
View Code? Open in Web Editor NEWGo application GitHub repository template.
License: Creative Commons Zero v1.0 Universal
Go application GitHub repository template.
License: Creative Commons Zero v1.0 Universal
makefiles are awesome, but a simple mage file can allow us to run on all Os's in Github CI.
Error encountered:
This file is in /<local path>/<project>/tools, which is a nested module in the /<local path>/<project> module.
gopls currently requires one module per workspace folder.
Please open /<local path>/<project>/tools as a separate workspace folder.
You can learn more here: https://github.com/golang/tools/blob/master/gopls/doc/workspace.md.go list
The tools folder is a nested module and creates a conflict for gopls which requires one module per workspace folder.
One option for resolving this would be updating the project to use go1.18 which now supports go workspaces.
Hi!
Have you ever considered to add a Github action on PR to messure the test coverage of it?
I love your golang template project!
Thanks!
Originally posted by @pellared in #305 (comment)
GoLand is the second most popular editor used to write Go: https://blog.golang.org/survey2019-results
.vscode/tasks.json
for Visua Studio Code)..gitignore
if required.README.md
.Example
modd.conf
**/*.go {
prep: go test -race -count 1 -timeout 30s -parallel 1 -coverprofile /tmp/cover.out ./... && go tool cover -func=/tmp/cover.out
}
this run tests and show coverage report by function every time you save a go file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.