Open shinriyo opened 7 years ago
Database type supports int and string. Support them
bool string int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 uintptr byte rune float32 float64 complex64 complex128
:binary :boolean :date :datetime :decimal :float :integer :primary_key :string :text :time :timestamp
Some types supported.
https://github.com/dcu/gin-scaffold/pull/21
@fix SetAttributes() method later like this.
SetAttributes()
var timeformat = "2006-01-02 15:04:05" var tmp, _ = time.Parse(timeformat, value[0]) bar.hoge = tmp.Unix()
Database type supports int and string. Support them
memorize