Sign in
go
/
website
/
9817d4fb13305c1bd5e5a0f41e8fe3f582406a39
/
.
/
_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)
}