Skip to main content

2 posts tagged with "Golang"

View All Tags

Golang's init() function

· One min read
  • automatically called once per package, the first time it's imported
  • cannot rely on order of exec when importing multiple packages that have init() functions

References