Data types

Data (struct) types are declared in GXML with tag <struct/>.


Struct tags are placed at the root of your <header/> tag.

GXML attributes :

GXML content :

Declared struct fields. Must follow syntax : <NAME> <TYPE> <TAGS>. You may also document fields by placing comments prior declaring a field.

Sample tag :

	<struct name="Sample">
		// Sample
		// comment
		Field1 string
		Field2 int
		Field3 []string

Exported to package:
Exports to files :
Writes tests to :