Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type checking #18

Open
shinriyo opened this issue Aug 15, 2017 · 2 comments
Open

Type checking #18

shinriyo opened this issue Aug 15, 2017 · 2 comments

Comments

@shinriyo
Copy link
Collaborator

Database type supports int and string.
Support them

memorize

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
@shinriyo
Copy link
Collaborator Author

shinriyo commented Aug 18, 2017

Some types supported.

#21

@shinriyo
Copy link
Collaborator Author

shinriyo commented Aug 19, 2017

@fix SetAttributes() method later like this.

var timeformat = "2006-01-02 15:04:05"
var tmp, _ = time.Parse(timeformat, value[0])
bar.hoge = tmp.Unix()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant