This repository contains various Go (Golang) code templates and scripts designed for quick guidance in different situations. It includes templates for structs, methods, and scripts.
- struct_templates/: Go struct templates.
- method_templates/: Go method templates.
- script_templates/: Go scripts for various tasks.
-
Clone the Repository:
git clone <repository-url> cd <repository-directory>
-
Navigate to the Desired Directory:
cd struct_templates # or method_templates, script_templates
- Struct Template Example: See
struct_templates/class_template.go
- Script Example: See
script_templates/command_line_script.go
Some scripts may require additional Go modules. Install them using go get
:
go get -u github.com/some/module
Feel free to contribute by submitting pull requests or opening issues.
This repository is maintained by Anthony Fillmore.
This repository is licensed under the MIT License.