Skip to content

Commit 30ce07f

Browse files
author
Denis Krivak
committed
Fix checking export tag.
1 parent 802a34d commit 30ce07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

godot.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ func checkLastChar(s string) bool {
275275
return true
276276
}
277277
// Skip cgo export tags: https://golang.org/cmd/cgo/#hdr-C_references_to_Go
278-
if strings.HasPrefix(s, "export") {
278+
if strings.HasPrefix(s, "export ") {
279279
return true
280280
}
281281
s = strings.TrimSpace(s)

0 commit comments

Comments
 (0)