All Projects → klingtnet → go-project-template

klingtnet / go-project-template

Licence: MIT license
A template for new Go projects.

Programming Languages

Makefile
30231 projects
go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to go-project-template

NodeExpressCRUD
Node, Express, Mongoose and MongoDB CRUD Web Application
Stars: ✭ 45 (+125%)
Mutual labels:  example
fastify-example
Example webapp with Fastify
Stars: ✭ 18 (-10%)
Mutual labels:  example
cypress-example-circleci-orb
Demo of using the Cypress CircleCI Orb
Stars: ✭ 26 (+30%)
Mutual labels:  example
Discord.Net-Example
Discord.Net Example bots
Stars: ✭ 104 (+420%)
Mutual labels:  example
vim-vgo
Vim syntax highlighting for golang.org/x/vgo go.mod
Stars: ✭ 28 (+40%)
Mutual labels:  vgo
rocket-yew-starter-pack
Example boilerplate for websites in pure Rust
Stars: ✭ 77 (+285%)
Mutual labels:  example
flask-nginx-tutorial
Basic connection of flask and nginx via docker-compose
Stars: ✭ 24 (+20%)
Mutual labels:  example
example cml
No description or website provided.
Stars: ✭ 21 (+5%)
Mutual labels:  example
java-basic-skeleton
☕🚀 Java Bootstrap: Skeleton for your new projects
Stars: ✭ 37 (+85%)
Mutual labels:  example
purescript-halogen-example
Sample halogen app that uses a few DSLs within the application's free monad
Stars: ✭ 62 (+210%)
Mutual labels:  example
ifconfig.top
Source code of ifconfig.top website
Stars: ✭ 19 (-5%)
Mutual labels:  example
guide vue-cli-3-multiple-entry-points
Simple guide to show how to create multiple entry points (pages) using vue-cli-3
Stars: ✭ 29 (+45%)
Mutual labels:  example
backbone.marionette.example
MVVM-flavored example CRUD app with Backbone.Marionette + Backbone.stickit + Browserify
Stars: ✭ 37 (+85%)
Mutual labels:  example
ionic-truncated-slider-cards
Customized slider component to achieve a fancy horizontal truncated slider, basically for short list of cards
Stars: ✭ 19 (-5%)
Mutual labels:  example
vuepress-plugin-example-preview
Easily display the preview of a code snippet
Stars: ✭ 15 (-25%)
Mutual labels:  example
bKash-payment-gateway-web-demo
bKash payment gateway API integration documentation for web.
Stars: ✭ 74 (+270%)
Mutual labels:  example
example-echo-server
🔗 An example Gleam web application
Stars: ✭ 59 (+195%)
Mutual labels:  example
tensorflow-example-java
This is a Tensorflow Java example application what uses YOLOv2 model and Gradle for build and dependency management.
Stars: ✭ 49 (+145%)
Mutual labels:  example
babel-codemod-example
An example of how to use babel as a codemod
Stars: ✭ 24 (+20%)
Mutual labels:  example
go-12factor-example
Example the 12factor app using golang
Stars: ✭ 20 (+0%)
Mutual labels:  example

Go Project Template

Github Action Status

This project acts as a template for new Go projects I develop. Most of my projects follow a certain structure:

  • there is a Makefile with common targets so everyone can easily build and test the project
    • the applications version and build time is set at compile time through ldflags
    • there is a check target to lint the code and ensure that it is properly formatted
    • it uses vgo and the new module system

Run

$ git clone https://github.com/klingtnet/go-project-template.git
$ cd go-project-template
$ make
$ ./example
INFO[0000] [email protected] build time: 2017-07-03T12:31:38+00:00

Use

How to use this as a start for a new project:

$ git clone --depth=1 https://github.com/klingtnet/go-project-template.git my-new-project

and adjust the module path in the go.mod file.

Development

  • build the project: make
  • test the project: make test
  • clean build artifacts and vendor folder: make clean
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].