Versions in this module Expand all Collapse all v1 v1.0.0 Sep 24, 2018 Changes in this version + type Config struct + NonceStr string + PrePayID string + Sign string + SignType string + Timestamp int64 + type Params struct + Body string + CreateIP string + OpenID string + OutTradeNo string + TotalFee string + type Pay struct + func NewPay(ctx *context.Context) *Pay + func (pcf *Pay) PrePayID(p *Params) (prePayID string, err error) Incompatible versions in this module v2.0.0+incompatible Aug 6, 2019