feature: expose extract package, previously internal

This commit is contained in:
Marc Vertes
2020-10-15 18:58:03 +02:00
committed by GitHub
parent 4b3e9ee231
commit 68c02ce054
18 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ import (
"path" "path"
"strings" "strings"
"github.com/traefik/yaegi/internal/extract" "github.com/traefik/yaegi/extract"
) )
func extractCmd(arg []string) error { func extractCmd(arg []string) error {

View File

@@ -1,6 +1,6 @@
package yaegi package yaegi
//go:generate go generate github.com/traefik/yaegi/internal/extract //go:generate go generate github.com/traefik/yaegi/internal/cmd/extract
//go:generate go generate github.com/traefik/yaegi/interp //go:generate go generate github.com/traefik/yaegi/interp
//go:generate go generate github.com/traefik/yaegi/stdlib //go:generate go generate github.com/traefik/yaegi/stdlib
//go:generate go generate github.com/traefik/yaegi/stdlib/syscall //go:generate go generate github.com/traefik/yaegi/stdlib/syscall

View File

@@ -28,7 +28,7 @@ import (
"runtime" "runtime"
"strings" "strings"
"github.com/traefik/yaegi/internal/extract" "github.com/traefik/yaegi/extract"
) )
var ( var (