1 2 3 4 5 6 7
func mustReadFile(path string) []byte { content, err := os.ReadFile(path) if err != nil { panic(err) } return content }