You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

16 lines
300 B

package main
type UserModel struct {
ID string `json:"id"`
Age int `json:",string"`
Actions []string
}
type ItemModel struct {
ID string
TRecommended int
TActed int
TScored int //times acted from recommendation
}
var scores []float64
var ranking []ItemModel