-
Notifications
You must be signed in to change notification settings - Fork 1
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
Implement service #5
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the go version in the github action (so that the build doesn't fail) everything else is just comments.
type: object | ||
properties: | ||
payload: | ||
type: object |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"type: object" is not valid here according to OpenApi schema. Line should be removed.
.github/workflows/go.yml
Outdated
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go version should match go.mod
@@ -0,0 +1,7 @@ | |||
package domain | |||
|
|||
type Amount struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is entirely a matter of taste, but if there is so little difference between entities and domain objects, I tend to not separate them to remove the need for mappings.
Implements the initial service scaffold. This version is not ready for production but serves as the foundation to implement the missing functionality.