Sign in
go
/
website
/
7d8d2df710bab2a2ac848c578298f4b6e2718fce
/
.
/
_content
/
talks
/
2014
/
gotham-context
/
eg.go
blob: 7f9e9fb120010cd059d84c668bfc8a099a9040de [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package P
import (
"xpkg"
"ypkg"
"golang.org/x/net/context"
)
func before(x xpkg.X, y ypkg.Y) error {
// HL
return x.M(y)
}
func after(x xpkg.X, y ypkg.Y) error {
// HL
return x.MContext(context.TODO(), y)
}