Sign in
go
/
gofrontend
/
ceb1e4f5614b4772eed44f9cf57780e52f44753e
/
.
/
libgo
/
go
/
cmd
/
go
/
testdata
/
src
/
testlist
/
example_test.go
blob: 0298dfde81e2a3926cb644187c39a2dcd72147fd [
file
] [
log
] [
blame
]
package testlist
import (
"fmt"
)
func ExampleSimple() {
fmt.Println("Test with Output.")
// Output: Test with Output.
}
func ExampleWithEmptyOutput() {
fmt.Println("")
// Output:
}
func ExampleNoOutput() {
_ = fmt.Sprint("Test with no output")
}