So, today while I was coding I found out that creating a function with the name init
generated an error method init() not found
, but when I renamed it to startup
it all worked fine.
Is the word "init" preserved for some internal operation in Go or am I'm missing something here?