Skip to content

Instantly share code, notes, and snippets.

@FyberEngineers
Created December 22, 2021 07:46
Show Gist options
  • Save FyberEngineers/ccdc52c7f84f34b328a191f083a0f731 to your computer and use it in GitHub Desktop.
Save FyberEngineers/ccdc52c7f84f34b328a191f083a0f731 to your computer and use it in GitHub Desktop.
scanner := bufio.NewScanner(reader)
for scanner.Scan() {
log.Printf("docker | %s", scanner.Text())
}
_ = reader.Close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment