From 41abf40647797f0c6bae3990800f49ef3906ef81 Mon Sep 17 00:00:00 2001 From: sqshq Date: Sat, 2 Feb 2019 09:45:53 -0500 Subject: [PATCH] packages rename --- config/config.go | 6 +++--- config/default.go | 2 +- event/handler.go | 2 +- go.mod | 2 +- main.go | 12 ++++++------ widgets/runchart.go | 4 ++-- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/config/config.go b/config/config.go index e20e729..c6c41b7 100644 --- a/config/config.go +++ b/config/config.go @@ -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" diff --git a/config/default.go b/config/default.go index 3448497..b27eed6 100644 --- a/config/default.go +++ b/config/default.go @@ -1,7 +1,7 @@ package config import ( - "github.com/sqshq/vcmd/console" + "github.com/sqshq/sampler/console" ) const ( diff --git a/event/handler.go b/event/handler.go index c06763a..47c9edf 100644 --- a/event/handler.go +++ b/event/handler.go @@ -1,8 +1,8 @@ package event import ( + "github.com/sqshq/sampler/widgets" ui "github.com/sqshq/termui" - "github.com/sqshq/vcmd/widgets" "time" ) diff --git a/go.mod b/go.mod index 201ecfc..072ebe4 100644 --- a/go.mod +++ b/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 diff --git a/main.go b/main.go index 378a01d..0bc4f26 100644 --- a/main.go +++ b/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() diff --git a/widgets/runchart.go b/widgets/runchart.go index 5610926..2e6ce87 100644 --- a/widgets/runchart.go +++ b/widgets/runchart.go @@ -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"