Some functions in Go’s standard library deliver much higher performance than user-defined functions, or those in a package you download from Github.

You can generate a name for your Element Buffer Object, bind it to your VAO, and initialize its data store. Or you can just pass a pointer to your element index slice in your DrawElements() call.

What you need to start developing an OpenGL application in Go (golang) on Windows

The behavior of specific code in a particular environment may be explored using the scientific method through observation of its execution in that environment.

http.ServeFile is great when you’re starting out. Later it just gets in the way.

Output the information needed to understand the action, and give the user a chance to approve it or opt out. A simple thing that can prevent disaster.