Skip to content
/ template-go-package Public template

This is a template repository to make it easier to develop Go packages

License

Notifications You must be signed in to change notification settings

habedi/template-go-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Repository for Go Packages

Tests Go Report Card Go Reference License

This is a template repository to make it easier to start developing Go packages. It includes a basic structure for a Go package plus some additional useful files like GitHub Actions for running unit tests.

I made this template to have a starting point for my Go packages and to speed up the development process. I hope it will be useful for you as well. Feel free to use it for your projects as is or modify it to fit your needs.

Files

These files are included in the repository:

  • .github/workflows/tests.yml: GitHub Actions workflow for running the unit tests.
  • .editorconfig: Editor configuration file for consistent coding styles.
  • .gitignore: A gitignore file for Go projects.
  • go.mod: Go module file.
  • LICENSE: License file.
  • README.md: Readme file.
  • package.go: Package file which includes the package code.
  • package_test.go: Unit tests for the functions in the package file.

About

This is a template repository to make it easier to develop Go packages

Topics

Resources

License

Stars

Watchers

Forks

Languages