meowlib/servercard.go
ycc 48b2e78b41
All checks were successful
continuous-integration/drone/push Build is passing
request jobs generation
2024-01-12 23:17:34 +01:00

10 lines
203 B
Go

package meowlib
func (sc *ServerCard) GetUid() string {
return sc.Login + ":" + sc.Password + "@" + sc.Url
}
func (sc *ServerCard) IsSame(sc1 *ServerCard) bool {
return sc.GetUid() == sc1.GetUid()
}