Created
July 16, 2019 18:28
-
-
Save blanchonvincent/19ed4275da0480493f391c7aec6f0ba8 to your computer and use it in GitHub Desktop.
Medium - init functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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