Skip to content

Parses all project template files residing in `files` and puts them where told.

Notifications You must be signed in to change notification settings

playnet-public/go-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Go Project Template

Parses all files residing in files and puts them where told.

Usage

To put the files into the current work dir:

go run main.go

To put the files to a custom path:

go run main.go -targetDir=/home/user/go/src/github.com/playnet-public/new-project

After running the code you might want to call make deps, dep init and git init.

Current Setup

The current setup generates our own project template using the following variables:

export TEMP_ORG=PlayNet
export TEMP_NAME=new-project
export TEMP_KEY=new-project
export TEMP_GIT_ORG=playnet-public
export TEMP_GIT_HOST=github.com
export TEMP_DOCKER_HOST=quay.io
export TEMP_DOCKER_ORG=playnet
export TEMP_DOCKER_IMAGE=${TEMP_NAME}
export TEMP_DOCKER_MAINTAINER="PlayNet <docker@play-net.org>"

License

Do what you want with it :-) Issues, PR's and Feedback are highly welcome. Some of the stuff we use in our project templates is based on the great work at github.com/kolide/kit To talk with us, stop by here: PlayNet Discord.

About

Parses all project template files residing in `files` and puts them where told.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published