package link import ( "fmt" "net/url" ) type service struct{} func NewLinkService() ILinkService { return &service{} } func (s *service) GetTeamClientLink(host string, name string, password string) string { return fmt.Sprintf("http://%s?name=%s&password=%s", host, url.PathEscape(name), password) }