INNER CODE UNIT · Go

func

jwilder/dockerize · main.go:91

func (s *sliceVar) Set(value string) error {
	*s = append(*s, value)
	return nil
}

func (s *sliceVar) String() string {
	return strings.Join(*s, ",")
}

// drainBody reads any remaining data from a response body and closes it.
// Errors are deliberately ignored since this is cleanup-only.
func drainBody(body io.ReadCloser) {
	_, _ = io.Copy(io.Discard, body)
	_ = body.Close()
}

func waitForDependencies() {
	dependencyChan := make(chan struct{})

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…