Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Fix time in rest api #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sherlock-shi-x
Copy link

var rawTime struct {
    ServerTime string `json:"serverTime"`
}

In rawTime struct, the return value of ServerTime is not string, I improve it to this:

var rawTime struct {
    ServerTime float64 `json:"serverTime"`
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant