Merge pull request #59 from adisbladis/pkgs-internal

Move internal packages to internal subdirectory
This commit is contained in:
adisbladis 2022-06-14 17:15:30 +08:00 committed by GitHub
commit 6a03c9a05f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 5 additions and 5 deletions

View file

@ -7,8 +7,8 @@ import (
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
generate "github.com/tweag/gomod2nix/generate"
schema "github.com/tweag/gomod2nix/schema"
generate "github.com/tweag/gomod2nix/internal/generate"
schema "github.com/tweag/gomod2nix/internal/schema"
)
const directoryDefault = "./"

View file

@ -17,8 +17,8 @@ import (
"github.com/nix-community/go-nix/pkg/nar"
log "github.com/sirupsen/logrus"
"github.com/tweag/gomod2nix/lib"
schema "github.com/tweag/gomod2nix/schema"
"github.com/tweag/gomod2nix/internal/lib"
schema "github.com/tweag/gomod2nix/internal/schema"
"golang.org/x/mod/modfile"
)

View file

@ -1,6 +1,6 @@
package main
import "github.com/tweag/gomod2nix/cmd"
import "github.com/tweag/gomod2nix/internal/cmd"
func main() {
cmd.Execute()