packages rename

This commit is contained in:
sqshq 2019-02-02 09:45:53 -05:00
parent 000de82523
commit 41abf40647
6 changed files with 14 additions and 14 deletions

View File

@ -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"

View File

@ -1,7 +1,7 @@
package config package config
import ( import (
"github.com/sqshq/vcmd/console" "github.com/sqshq/sampler/console"
) )
const ( const (

View File

@ -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
View File

@ -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
View File

@ -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()

View File

@ -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"