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