Navya Anavyadevops.hashnode.devยทJul 15, 2024Go Series Part 5: Comma OK Syntax or Error OK SyntaxIntroduction Have you ever come across a statement like this? func main() { i := "hello world" n, ok := i.(int) if ok { fmt.Println("n:", n) } else { fmt.Println("not an int") } } In Go, there's no try-catch block...comma okay syntax in goAdd a thoughtful commentNo comments yetBe the first to start the conversation.