utils

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScoreDetail

type ScoreDetail struct {
	ItemID string  `json:"item_id"`
	Score  float64 `json:"score"`
}

type ScoreReq

type ScoreReq struct {
	UserID string `json:"user_id"`
}

type ScoreResp

type ScoreResp struct {
	List []ScoreDetail `json:"msg"`
}

func GetItemScoreFromUserID

func GetItemScoreFromUserID(UserID string) (ScoreResp, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL