Add a function to your project with GXML tag <func/>.


Function tags are placed at the root of your <methods/> tag.

GXML attributes

GXML content :

Defines Go code block to run.


To comment a function use XML style comments. The comments must be in your tag’s GXML content. For example :

 <!-- Comment -->

Sample tag :

	<func name="Greet" var="name string" return="string">
		<!-- this function greets people -->
		return fmt.Sprintf("Hi %s", name)

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