gonstructor
A command-line tool to generate a constructor for the struct.
File Explorer
- go.yml
- release.yml
- gonstructor.go
- all_args_constructor_generator.go
- builder_constructor_generator.go
- field.go
- field_collector.go
- generator.go
- strcase.go
- strcase_test.go
- struct.go
- utils.go
- utils_test.go
- structure.go
- structure_test.go
- structure.go
- structure_test.go
- structure_with_multiple_imports.go
- structure.go
- structure_test.go
- file_parser.go
- getter_generator.go
- package_parser.go
- version.go
- .gitignore
- .go-version
- .goreleaser.yml
- go.mod
- go.sum
- LICENSE
- Makefile
- README.md
- renovate.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Link
Example
Command Glossary
Commands referenced in this DOCs, explained below.
go generate
View Details ▼
go generate
Generate Go files by running commands within source files.
go generate
Generate Go files by running commands within source files:
go install
View Details ▼
go install
Compile and install packages named by the import paths.
go install
Compile and install the current package:
go install {{path/to/package}}
Compile and install a specific local package:
go install {{golang.org/x/tools/gopls}}@{{latest}}
Install the latest version of a program, ignoring `go.mod` in the current directory:
// repository documentation
Was this content helpful?
(0 ratings)
