import "github.com/juju/names" ut := names.NewUserTag("john")
import "github.com/juju/names" valid := names.IsValidUsername("john_doe")
import "github.com/juju/names" ut, err := names.ParseUserTag("john") if err != nil { // handle error }Package Library: github.com.juju/names