Main function

Declare a main function for your project with GXML tag <main/>. This will be the code executed on web server start.

Syntax

Main tags are placed at the root of your <gos/> tag.

GXML content :

Defines Go code block to run.

Sample tag :

<gos>
	...
	<main>
		println("Hello world")
	</main>
	...
</gos>


Exported to package:
Exports to files :