main is the entry point for the application.
()
| 11 | |
| 12 | // main is the entry point for the application. |
| 13 | func main() { |
| 14 | var b bytes.Buffer |
| 15 | |
| 16 | // Write a string to the buffer. |
| 17 | b.Write([]byte("Hello")) |
| 18 | |
| 19 | // Use Fprintf to concatenate a string to the Buffer. |
| 20 | fmt.Fprintf(&b, "World!") |
| 21 | |
| 22 | // Write the content of the Buffer to stdout. |
| 23 | io.Copy(os.Stdout, &b) |
| 24 | } |
nothing calls this directly
no outgoing calls
no test coverage detected