Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/codegen/golang/opts/override.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type Override struct {
// True if the GoType should override if the matching type is nullable
Nullable bool `json:"nullable" yaml:"nullable"`

// True if the GoType should override if the matching type is unsiged.
// True if the GoType should override if the matching type is unsigned.
Unsigned bool `json:"unsigned" yaml:"unsigned"`

// Deprecated. Use the `nullable` property instead
Expand Down
2 changes: 1 addition & 1 deletion internal/codegen/golang/struct.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func StructName(name string, options *opts.Options) string {
}
}

// If a name has a digit as its first char, prepand an underscore to make it a valid Go name.
// If a name has a digit as its first char, prepend an underscore to make it a valid Go name.
r, _ := utf8.DecodeRuneInString(out.String())
if unicode.IsDigit(r) {
return "_" + out.String()
Expand Down
2 changes: 1 addition & 1 deletion internal/tools/sqlc-pg-gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ func run(ctx context.Context) error {
type schemaToLoad struct {
// name is the name of a schema to load
Name string
// DestPath is the desination for the generate file
// DestPath is the destination for the generate file
DestPath string
// The name of the function to generate for loading this schema
GenFnName string
Expand Down
2 changes: 1 addition & 1 deletion internal/tools/sqlc-pg-gen/proc.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func (p *Proc) Args() []Arg {
}

// Some manual changes until https://github.com/sqlc-dev/sqlc/pull/1748
// can be completely implmented
// can be completely implemented
if p.Name == "mode" {
return nil
}
Expand Down
2 changes: 1 addition & 1 deletion protos/plugin/codegen.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ message File {

message Settings {
// Rename message was field 5
// Overides message was field 6
// Overrides message was field 6
// PythonCode message was field 8
// KotlinCode message was field 9
// GoCode message was field 10;
Expand Down
Loading