Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.5% dependent packages on proxy.golang.org
Top 1.1% dependent repos on proxy.golang.org

proxy.golang.org : github.com/posener/autogen

Package autogen automatically generates files from templates. Create a main package somewhere in your project. In that package, locate templates for generating files. These templates should have the generated file names suffixed with ".gotmpl". The generated files will be located by default in the parent directory, but this location can be customized with the `Location` option. The main package should define the variables to be used in the templates and run the `autogen.Execute` function with this variable. The main package should include a `//go:generate go run .` comment. All that left to do is to run `go generate ./...` from the Go module's root. See example at the ./example directory.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/posener/autogen
Keywords: automation, code-generation, generate, go, go-generate, golang
License: Apache-2.0
Latest release: 11 months ago
First release: about 4 years ago
Namespace: github.com/posener
Dependent packages: 5
Dependent repositories: 23
Stars: 0 on GitHub
Forks: 1 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 23 days ago

    Loading...
    Readme
    Loading...