Empty Module
Create etc
directory with module.xml
Name is used for defining a name for module and version for versioning.
Create ./config/modules.xml
and set module to enabled.
Create main.go with function called same as name of module which should return module itself and error.
Run your application and you should see this output.
Now your Empty module is running!
Last updated