Data types

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

Syntax

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 :

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


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