Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package main
- import (
- "log"
- )
- func main() {
- m := make(map[string]string)
- m["Go"] = "Beego"
- m["Python"] = "Django"
- m["Ruby"] = "Rails"
- m["PHP"] = "Laravel"
- // No such key/value pair.
- if !(m["Java"] == "") {
- log.Fatal("Wrong value")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement