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
- name: early-return
disabled: true
- name: disable-stuttering-check
disabled: true
gocritic:
disabled-checks:
- ifElseChain

View File

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