When I tried to compile the following code I get following errors:
users.go:31: cannot convert pass (type *string) to type string
users.go:78: cannot convert &user.Password (type *string) to type []byte
How do I dereference or convert the pointer to the string literal?
Thanks in advance.
code which I am trying to compile: https://play.golang.org/p/gtMKLNAyNk