tree-wide: use a standard project layout

Keep main.go files under cmd/ and internal libraries under internal/.
This will allow us to add more exutables under cmd/ (whereas only one
was possible when main.go was kept in the root).

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2019-09-24 00:03:53 +02:00
parent 11af3f0c0b
commit b60f580d92
6 changed files with 5 additions and 5 deletions

View file

@ -11,8 +11,8 @@ import (
"os/signal"
"path/filepath"
"osbuild-composer/rpmmd"
"osbuild-composer/weldr"
"osbuild-composer/internal/rpmmd"
"osbuild-composer/internal/weldr"
)
const StateFile = "/var/lib/osbuild-composer/weldr-state.json"

View file

@ -9,7 +9,7 @@ import (
"github.com/julienschmidt/httprouter"
"osbuild-composer/rpmmd"
"osbuild-composer/internal/rpmmd"
)
type API struct {

View file

@ -10,8 +10,8 @@ import (
"strings"
"testing"
"osbuild-composer/rpmmd"
"osbuild-composer/weldr"
"osbuild-composer/internal/rpmmd"
"osbuild-composer/internal/weldr"
)
var repo = rpmmd.RepoConfig{