forked from domodwyer/mgo
-
Notifications
You must be signed in to change notification settings - Fork 231
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
time.Parse #386
Comments
time.Time内置的2个变量是小写,按go的规则,小写不能导出。 只能用int64存时间戳,用的时候再转回来了。 |
用这个 https://github.com/qiniu/qmgo 这是七牛的库,我试过了,map[int]和time.Time都可以支持 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use the issue tracker to track bugs with mgo - if you have a usage question,
it's best to try Stack Overflow :)
Replace this text with your description, and please answer the questions below
before submitting your issue to help us out. Thanks!
What version of MongoDB are you using (
mongod --version
)?What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you do?
If possible, provide a recipe for reproducing the error.
A runnable program is great and really helps!
Can you reproduce the issue on the latest
development
branch?yeah, i insert to mongodb with this struct,when query from db the CreatedTime field is still ISOTime,not parse auto, but use "gopkg.in/mgo.v2" it's ok.......so odd....
The text was updated successfully, but these errors were encountered: