packages rename
This commit is contained in:
parent
000de82523
commit
41abf40647
|
@ -1,9 +1,9 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
"github.com/sqshq/vcmd/console"
|
||||
"github.com/sqshq/vcmd/data"
|
||||
. "github.com/sqshq/vcmd/widgets"
|
||||
"github.com/sqshq/sampler/console"
|
||||
"github.com/sqshq/sampler/data"
|
||||
. "github.com/sqshq/sampler/widgets"
|
||||
"gopkg.in/yaml.v2"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
"github.com/sqshq/vcmd/console"
|
||||
"github.com/sqshq/sampler/console"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package event
|
||||
|
||||
import (
|
||||
"github.com/sqshq/sampler/widgets"
|
||||
ui "github.com/sqshq/termui"
|
||||
"github.com/sqshq/vcmd/widgets"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/sqshq/vcmd
|
||||
module github.com/sqshq/sampler
|
||||
|
||||
require (
|
||||
github.com/mattn/go-runewidth v0.0.4 // indirect
|
||||
|
|
12
main.go
12
main.go
|
@ -1,18 +1,18 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"github.com/sqshq/sampler/config"
|
||||
"github.com/sqshq/sampler/console"
|
||||
"github.com/sqshq/sampler/data"
|
||||
"github.com/sqshq/sampler/event"
|
||||
"github.com/sqshq/sampler/widgets"
|
||||
ui "github.com/sqshq/termui"
|
||||
"github.com/sqshq/vcmd/config"
|
||||
"github.com/sqshq/vcmd/console"
|
||||
"github.com/sqshq/vcmd/data"
|
||||
"github.com/sqshq/vcmd/event"
|
||||
"github.com/sqshq/vcmd/widgets"
|
||||
"time"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
cfg := config.Load("/Users/sqshq/Go/src/github.com/sqshq/vcmd/config.yml")
|
||||
cfg := config.Load("/Users/sqshq/Go/src/github.com/sqshq/sampler/config.yml")
|
||||
csl := console.Console{}
|
||||
csl.Init()
|
||||
defer csl.Close()
|
||||
|
|
|
@ -2,8 +2,8 @@ package widgets
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/sqshq/vcmd/console"
|
||||
"github.com/sqshq/vcmd/data"
|
||||
"github.com/sqshq/sampler/console"
|
||||
"github.com/sqshq/sampler/data"
|
||||
"image"
|
||||
"log"
|
||||
"math"
|
||||
|
|
Loading…
Reference in New Issue