Documentation ¶
Index ¶
- Variables
- func AcceptReservedMoney(userId, serviceId, orderId string, amount float64) (error, int)
- func GetAccountBalance(userId string) (interface{}, error, int)
- func InitDB(user, password, host, dbname string)
- func RefillUserAccount(userId string, amount float64) error
- func ReserveUsersAccountMoney(userId, serviceId, orderId string, cost float64) (error, int)
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *sql.DB
Functions ¶
func AcceptReservedMoney ¶
func GetAccountBalance ¶
func RefillUserAccount ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.