You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue will be automatically closed because it is marked as GORM V1 issue, we have released the public testing GORM V2 release and its documents https://v2.gorm.io/docs/ already, the testing release has been used in some production services for a while, and going to release the final version in following weeks, we are still actively collecting feedback before it, please open a new issue for any suggestion or problem, thank you
#when i use gorm to gets decimal field value from mysql,whatever this struct dield type is float32,float64 or shopspring/decimal,it gets all 0
What version of Go are you using (
go version
)?go version go1.8.3 linux/amd64
Which database and its version are you using?
mysql 5.6.23
Models:
then output is always 0,whatever the real value is.
What am I doing wrong here ? Or how I should do ?
The text was updated successfully, but these errors were encountered: