Skip to content

Commit

Permalink
patched the marshalling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
skeswa committed Nov 12, 2016
1 parent 5659b3f commit 666a262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/db/model/package/insert.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func Insert(args InsertArgs) error {
Value(packagesColumnNameStars, args.Stars).
Value(packagesColumnNameAuthor, args.Author).
Value(packagesColumnNameAwesome, args.Awesome).
Value(packagesColumnNameTrendScore, 0).
Value(packagesColumnNameTrendScore, float32(0)).
Value(
packagesColumnNameSearchScore,
CalcSearchScore(args.Stars, 0, args.Awesome, 0)).
Expand Down

0 comments on commit 666a262

Please sign in to comment.