INNER CODE UNIT · Go

tidyURIs

nicholasjackson/fake-service · main.go:464

func tidyURIs(uris string) []string {
	resp := []string{}
	rawResp := strings.Split(uris, ",")

	for _, r := range rawResp {
		r = strings.Trim(r, " ")
		if r != "" {
			resp = append(resp, r)
		}
	}

	return resp
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…