1package pkg 2 3import ( 4 "fmt" 5 6 fr "github.com/foo/pkg/fromage" 7) 8 9func Here() string { 10 return "root" 11} 12 13func NewSample() func() string { 14 return func() string { 15 return fmt.Sprintf("%s %s", Here(), fr.Hello()) 16 } 17} 18