Skip to content

Commit

Permalink
Fix godoc for codegen.UserTypeLocation() (#3464)
Browse files Browse the repository at this point in the history
  • Loading branch information
tchssk committed Jan 26, 2024
1 parent 0b9603f commit 8142df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (s *ImportSpec) Code() string {
}

// UserTypeLocation returns the location of the user type if set via the
// attr:pkg:path metadata, nil otherwise..
// struct:pkg:path metadata, nil otherwise..
func UserTypeLocation(dt expr.DataType) *Location {
ut, ok := dt.(expr.UserType)
if !ok {
Expand Down

0 comments on commit 8142df9

Please sign in to comment.