- Agent roles and coordination features - Chat API integration testing - New configuration and workspace management 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
303 B
Go
14 lines
303 B
Go
package zeroconf
|
|
|
|
import "strings"
|
|
|
|
func parseSubtypes(service string) (string, []string) {
|
|
subtypes := strings.Split(service, ",")
|
|
return subtypes[0], subtypes[1:]
|
|
}
|
|
|
|
// trimDot is used to trim the dots from the start or end of a string
|
|
func trimDot(s string) string {
|
|
return strings.Trim(s, ".")
|
|
}
|