Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMerchantOrderID ¶
func CreateMerchantOrderID() string
CreateMerchantOrderID generates an order ID from the Unix timestamp in SECONDS.
func CreateNonceStr ¶
func CreateNonceStr() string
CreateNonceStr generates a random UUID string. Note: Python uses uuid1 (time-based), Go uses uuid.New() (v4, random). This is generally acceptable and unlikely to be the source of an error.
func CreateTimestamp ¶
func CreateTimestamp() string
CreateTimestamp generates a timestamp in seconds, matching the Python reference.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.