Skip to content

Instantly share code, notes, and snippets.

@blanchonvincent
Created July 16, 2019 18:28
Show Gist options
  • Save blanchonvincent/19ed4275da0480493f391c7aec6f0ba8 to your computer and use it in GitHub Desktop.
Save blanchonvincent/19ed4275da0480493f391c7aec6f0ba8 to your computer and use it in GitHub Desktop.
Medium - init functions
package main
import (
_ "os"
)
func init() {
println(`init 1`)
}
func init() {
println(`init 2`)
}
func main() {
println(`main`)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment