README
¶
THIS IS FORKED TO ADAPT MY OWN TEMPLATE
I created my own template and was going to make some interactive cli....I quickly realised its quite painful todo so and I found this amazingly written tool. So I cannibalised it for my own template. Please go and checkout the original template and its maintainers.
To install my version:
go install github.com/JamesTiberiusKirk/go-template/cmd/gt@v0.1.0
To use my version
gt new # then follow the instructions
The original repo for my template/framework
Development
- This assumes that the repo for the original template is located at
../go_web_template
- Use the
./convert_template.sh
script in order to copy over the template repo and delete unnecessary files/folders- That will just copy over
../go_web_template
to_template
- Cleanup stuff that we don't want to shit like docker mount points
- Then finally there are a couple of
sed
commands witch replace the module name and the actual name with golang templating variables- Note: I'm using custom delims for the templating because my go template is using http templating with the standard delims
- Custom delims being
{{{
and respectively}}}
- That will just copy over
Original maintainers and project
The Maintainers:
Name | |
---|---|
@brumhard | code@brumhard.com |
@linuxluigi | steffen.exler@mail.schwarz |
@danielzwink | daniel.zwink@mail.schwarz |
Documentation
¶
Click to show internal directories.
Click to hide internal directories.