Beispiel #1
0
func main() {
	fmt.Println("Start")
	package1.Write(os.Stdout)
	package2.Write(os.Stdout)

	fmt.Println("Writing all inside package3")
	package3.Write(os.Stdout)
}
Beispiel #2
0
func Write(writer io.Writer) {
	package1.Write(writer)
	package2.Write(writer)
	package4.Write(writer)
}