chore: fix linter

This commit is contained in:
Steven 2023-09-22 00:37:04 +08:00
parent 4e3d727b58
commit 790a8a2e17
2 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,6 @@ linters-settings:
disabled: true disabled: true
- name: early-return - name: early-return
disabled: true disabled: true
- name: disable-stuttering-check
disabled: true
gocritic: gocritic:
disabled-checks: disabled-checks:
- ifElseChain - ifElseChain

View File

@ -22,6 +22,7 @@ const (
subscriptionProProductID = 98995 subscriptionProProductID = 98995
) )
//revive:disable-next-line
type LicenseKey struct { type LicenseKey struct {
ID int32 `json:"id"` ID int32 `json:"id"`
Status string `json:"status"` Status string `json:"status"`
@ -30,6 +31,7 @@ type LicenseKey struct {
ExpiresAt *string `json:"updated_at"` ExpiresAt *string `json:"updated_at"`
} }
//revive:disable-next-line
type LicenseKeyMeta struct { type LicenseKeyMeta struct {
StoreID int32 `json:"store_id"` StoreID int32 `json:"store_id"`
OrderID int32 `json:"order_id"` OrderID int32 `json:"order_id"`