gitlab.com/ethan.reesor/vscode-notebooks/yaegi@v0.0.0-20220417214422-5c573557938e/example/pkg/_pkg10/src/github.com/foo/pkg.go (about)

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