mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-20 22:07:15 +00:00
chore: fix linter
This commit is contained in:
parent
4e3d727b58
commit
790a8a2e17
@ -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
|
||||||
|
@ -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"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user