This repository was archived by the owner on Dec 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
This repository was archived by the owner on Dec 18, 2020. It is now read-only.
Syntax error on generated structs #1
Copy link
Copy link
Open
Description
Hi. Just got an issue trying to go get the package.
-
Go version
1.12.5, also tried on 1.11 -
What happens ?
Callinggo get github.com/xivapi/xivapi-gothrows errors because of a generator syntax error :
$ go get github.com/xivapi/xivapi-go
# github.com/xivapi/xivapi-go
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:15:25: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:17:5: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:18:8: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:19:12: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:20:16: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:21:18: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:24:8: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:25:11: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:26:20: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:29:8: syntax error: unexpected %, expecting type
..\github.com\xivapi\xivapi-go\type_AnimaWeapon5Param_generated.go:29:8: too many errors
Some special characters are not allowed in variable names, thus these errors.
Metadata
Metadata
Assignees
Labels
No labels