I want to get exact timezone from string, like +08:00 from "Asia/Shanghai"
Use the LoadLocation function.
location, _ := time.LoadLocation(s)
name, offset := time.Now().In(location).Zone()
// offset is what I want
fmt.Printf("name:%#v, offset:%#v
", name, offset)