Skip to content

gebv/go-dice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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