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

View File

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

View File

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

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

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

View File

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