chore: downgrade go version to 1.25
This commit is contained in:
@@ -372,6 +372,7 @@ func UploadCertificatePNGToCOS(ctx context.Context, pngBytes []byte, defaultObje
|
||||
_, err = client.Object.Put(ctx, objectKey, bytes.NewReader(pngBytes), &cos.ObjectPutOptions{
|
||||
ObjectPutHeaderOptions: &cos.ObjectPutHeaderOptions{
|
||||
ContentType: "image/png",
|
||||
ContentLength: len(pngBytes),
|
||||
CacheControl: "public, max-age=31536000, immutable",
|
||||
},
|
||||
})
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module git.yuanzoo.cn/zhangzhengqiang/popi-zxl
|
||||
|
||||
go 1.26
|
||||
go 1.25.0
|
||||
|
||||
require (
|
||||
github.com/fogleman/gg v1.3.0
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
package zxchainsdk
|
||||
|
||||
import "errors"
|
||||
|
||||
var (
|
||||
ErrMissingBizID = errors.New("missing biz_id")
|
||||
ErrMissingContent = errors.New("missing content")
|
||||
ErrMissingEvID = errors.New("missing ev_id")
|
||||
ErrMissingHash = errors.New("missing hash")
|
||||
ErrMissingScene = errors.New("missing scene")
|
||||
ErrMissingKVFields = errors.New("missing kv fields")
|
||||
ErrMissingFileName = errors.New("missing file_name")
|
||||
ErrMissingQueryKey = errors.New("missing ev_id, hash or tx_id")
|
||||
ErrEmptyAttestation = errors.New("empty attestation request")
|
||||
)
|
||||
Reference in New Issue
Block a user