feature: expose extract package, previously internal
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ import (
|
|||||||
"runtime"
|
"runtime"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/traefik/yaegi/internal/extract"
|
"github.com/traefik/yaegi/extract"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
Reference in New Issue
Block a user