Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/endpoint routes #10

Merged
merged 37 commits into from
Mar 14, 2024
Merged

Fix/endpoint routes #10

merged 37 commits into from
Mar 14, 2024

Conversation

olegfomenko
Copy link
Contributor

No description provided.

violog and others added 30 commits February 26, 2024 15:18
- call validation.Errors.Filter() in requests
- filter must be pointer
- selectAbsent panic
- passport is not added on absent balance
- withdrawal: http://localhost:9010 too many colons in address
- cron job cleaned 0 expired events instead of 3
- fix logging ptr address
…s structure; Change CreateBalance endpoint: if balance exists, but not activated - balance becomes activated and referral codes are created
@@ -12,7 +12,7 @@ import (
"gitlab.com/distributed_lab/logan/v3/errors"
)

// driverValue - converts interface into db supported type
//driverValue - converts interface into db supported type

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
File is not gofmt-ed with -s (gofmt)

@@ -46,7 +46,7 @@ func (c *Included) add(include Resource) {
c.includes[include.GetKey()] = json.RawMessage(data)
}

// MarshalJSON - marshals include collection as array of json objects
//MarshalJSON - marshals include collection as array of json objects

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
File is not gofmt-ed with -s (gofmt)

@@ -13,7 +13,7 @@ import (

type Details json.RawMessage

// UnmarshalJSON - casts data to Details
//UnmarshalJSON - casts data to Details

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
File is not gofmt-ed with -s (gofmt)

@olegfomenko olegfomenko merged commit 5cd89e3 into main Mar 14, 2024
2 checks passed
@violog violog deleted the fix/endpoint-routes branch March 21, 2024 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants