mirror of
https://github.com/golang/go
synced 2024-11-05 11:56:12 -07:00
bfcffc697d
See refactor/eg/eg.go for details. LGTM=crawshaw R=crawshaw, gri, kamil.kisiel, josharian CC=golang-codereviews https://golang.org/cl/81010043
9 lines
217 B
Plaintext
9 lines
217 B
Plaintext
package template
|
|
|
|
import "fmt"
|
|
|
|
// Test of semantic (not syntactic) matching of basic literals.
|
|
|
|
func before() (int, error) { return fmt.Println(123, "a") }
|
|
func after() (int, error) { return fmt.Println(456, "!") }
|