Skip to content

Commit

Permalink
Fix checking export tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Krivak committed Sep 17, 2020
1 parent 802a34d commit 30ce07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion godot.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func checkLastChar(s string) bool {
return true
}
// Skip cgo export tags: https://golang.org/cmd/cgo/#hdr-C_references_to_Go
if strings.HasPrefix(s, "export") {
if strings.HasPrefix(s, "export ") {
return true
}
s = strings.TrimSpace(s)
Expand Down

0 comments on commit 30ce07f

Please sign in to comment.