gebv / go-dice

Code generate for golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dice

Release CircleCI Go Report Card GolangCI

Code generator

Dice gopher logo

Features list

  • 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

Color dice gopher logo

  1. with white dice

White dice gopher logo

About

Code generate for golang

License:MIT License


Languages

Language:Go 98.2%Language:Makefile 1.8%