https://github.com/gebv/go-dice
Code generate for golang
https://github.com/gebv/go-dice
generics go go-generate gogenerate
Last synced: 6 months ago
JSON representation
Code generate for golang
- Host: GitHub
- URL: https://github.com/gebv/go-dice
- Owner: gebv
- License: mit
- Created: 2019-04-21T21:36:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-05T19:20:00.000Z (over 6 years ago)
- Last Synced: 2025-07-01T14:05:03.495Z (6 months ago)
- Topics: generics, go, go-generate, gogenerate
- Language: Go
- Size: 6.15 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dice
[](https://github.com/gebv/go-dice/releases/latest)
[](https://circleci.com/gh/gebv/go-dice/tree/master)
[](https://goreportcard.com/report/github.com/gebv/go-dice)
[](https://golangci.com)
Code generator

# Features list
* [x] database/sql/driver Scan & Value sqldriver
* [ ] transfrom <->
* [ ] stringer (basic type, enum, struct)
* [ ] helper builder for struct with default values, with init map, chan
* [ ] документация DTO объекта от его полей с комментариями к полям (doc, inline)
* [ ] формирование DTO + фильтрация->валидация
# Notes and magic, how's without her?
* used `github.com/BurntSushi/toml` for encode toml because not overrides origin values if key is omitted in the file (it is not public possibility?). It is for to preserve default values for config
* нет возможности записать опции аннотации в inline (в силу ограничения формата toml). Другие варианты? Форматы?
# Logo
Attached *.ai, *.pdf, *.svg version logo. Two versions
1. with color dice
2. with white dice