Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- temp, err := strconv.ParseInt(host, 10, 64)
- if err == nil {
- hp.IpAddress = host
- } else {
- hp.HostName = dbhost
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement