go-dice

module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2019 License: MIT

README

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). Другие варианты? Форматы?

Attached *.ai, *.pdf, *.svg version logo. Two versions

  1. with color dice

Color dice gopher logo

  1. with white dice

White dice gopher logo

Directories

Path Synopsis
Code generated by github.com/gebv/go-dice with details DO NOT EDIT.
Code generated by github.com/gebv/go-dice with details DO NOT EDIT.
gen
Package gen for generate golang code.
Package gen for generate golang code.
Package parse for parse golang code.
Package parse for parse golang code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL