1 package client 2 3 import ( 4 "context" 5 "golang.conradwood.net/go-easyops/ctx" 6 ) 7 8 func getContext() context.Context { 9 cb := ctx.NewContextBuilder() 10 return cb.ContextWithAutoCancel() 11 } 12
View as plain text