-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rename ast.File to ast.Schema and ast.File.Definitions to ast.Schema.Objects #46
Conversation
@@ -323,39 +323,39 @@ func (object Object) DeepCopy() Object { | |||
return newObject | |||
} | |||
|
|||
type Files []*File | |||
type Schemas []*Schema |
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 has been renamed.
type File struct { //nolint: musttag | ||
Package string | ||
Definitions []Object | ||
type Schema struct { //nolint: musttag |
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 has been renamed.
Definitions []Object | ||
type Schema struct { //nolint: musttag | ||
Package string | ||
Objects []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.
This has been renamed.
Nothing new or fixed here, just some renaming to be more consistent :)