Giter Club home page Giter Club logo

seed's People

Contributors

agabrys avatar computerscienceiscool avatar dependabot[bot] avatar jizusun avatar pellared avatar tommoulard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

seed's Issues

gopls requires one module per workspace folder

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.

Test coverage on PR

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!

GoLand support

Why

GoLand is the second most popular editor used to write Go: https://blog.golang.org/survey2019-results

What

  • Add GoLand config to use golangci-lint.
  • Add GoLand config for Make targets (like .vscode/tasks.json for Visua Studio Code).
  • Update .gitignore if required.
  • Update README.md.

Add modd configuration

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.