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:
parent
11af3f0c0b
commit
b60f580d92
6 changed files with 5 additions and 5 deletions
|
|
@ -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"
|
||||
|
|
@ -9,7 +9,7 @@ import (
|
|||
|
||||
"github.com/julienschmidt/httprouter"
|
||||
|
||||
"osbuild-composer/rpmmd"
|
||||
"osbuild-composer/internal/rpmmd"
|
||||
)
|
||||
|
||||
type API struct {
|
||||
|
|
@ -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{
|
||||
Loading…
Add table
Add a link
Reference in a new issue