-
Notifications
You must be signed in to change notification settings - Fork 2
support integer types #81
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
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
eaa2abf
feat: type struct to deal with complex types (array, slice)
alexgarzao c80a584
chore: use FieldType instead of string
alexgarzao 0d9b9b9
refact: IsGoType is a FieldType method now
alexgarzao 97671da
chore: register a possible refactor
alexgarzao dc85a43
chore: removes unused tests
alexgarzao 1b54cad
chore: forgot to update docs and tests related to bool type
alexgarzao 7ee2bd2
Merge branch 'main' into 59-support-all-numeric-types
alexgarzao 9eddafb
chore: use the correct template engine (text)
alexgarzao 36acdd0
tests: generator to check for all integer types
alexgarzao c90d351
feat: normalize the specific type to a class (int, float, string, bool)
alexgarzao c0a76e6
feat: normalize the specific type to a class (int, float, string, bool)
alexgarzao dd1fd7b
tests: run generator to check for all integer types
alexgarzao 8ba7c7b
feat: parser list of integers
alexgarzao 7d013de
feat: deal with generic type in the analyzer
alexgarzao 64343e5
feat: deal with generic int types during code generation
alexgarzao e6b991a
doc: update readme with new validations
alexgarzao 630af30
fix: avoid panic with invalid parameter
alexgarzao 1878544
fix: only known types can use validations
alexgarzao be64ec8
feat: new operations related to slice and array with integers
alexgarzao 00fe1f8
test: helper funcs to support tests with normalized tests
alexgarzao cda5ad1
test: parser are correct with slice and arrays of string and int
alexgarzao 9d906a4
feat: new array and slices operations with string and integers
alexgarzao 9182a1a
chore: remove useless func
alexgarzao 11aefcd
refact: move test to helper file
alexgarzao 873b63f
refact: helper prefix in func related to tests
alexgarzao 0d71163
chore: remove all about partial float support
alexgarzao 42a86c3
feat: missed []int operations
alexgarzao 489c591
chore: remove useless TODO
alexgarzao 63a711d
FIX: avoid normalized types with an invalid go type
alexgarzao 7cfd625
chore: generated numeric tests more idiomatic
alexgarzao d3b9919
tests: invalid array type, invalid array size, invalid type
alexgarzao 612ded6
fix: avoid log fatal
alexgarzao 76f36f5
refact: avoid duplication in helpers func
alexgarzao 6d66ed8
chore: change from strings.Title to cases.Title
alexgarzao 30b1c3f
fix: format %s with struct
alexgarzao ebd8052
Merge branch 'main' into 59-support-integer-types
alexgarzao File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.