https://github.com/xorkevin/forge
Code generation utility
https://github.com/xorkevin/forge
code-generation go golang
Last synced: 27 days ago
JSON representation
Code generation utility
- Host: GitHub
- URL: https://github.com/xorkevin/forge
- Owner: xorkevin
- License: mpl-2.0
- Created: 2018-12-21T03:04:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-08-03T22:21:50.000Z (10 months ago)
- Last Synced: 2025-04-01T17:58:22.422Z (about 2 months ago)
- Topics: code-generation, go, golang
- Language: Go
- Size: 306 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# forge
Code generation utility
install with `$ go get xorkevin.dev/forge`
#### Motivation
`forge` is a code generation tool designed to solve some metaprogramming tasks
in Go. It currently code generates PostgreSQL SQL functions that use the
`database/sql` package. And it generates struct validation methods. It will not
solve all problems but it is designed to solve the most common use cases, and
reduce handwritten code duplication.## Usage
Reference the `doc` directory or run `forge help`.