Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import "log"
- func main() {
- var langs [4]string
- langs[0] = "Go"
- langs[1] = "Python"
- langs[2] = "Ruby"
- langs[3] = "PHP"
- if !(langs[0] == "Go") {
- log.Fatal("Wrong string")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement