Skip to content

Commit

Permalink
Change import path to tidbyt.dev/pixlet (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohansingh authored Oct 19, 2020
1 parent 1219aab commit 0ffe34a
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion doc/gen_widget_imgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"io/ioutil"
"strings"

"github.com/tidbyt/pixlet/runtime"
"tidbyt.dev/pixlet/runtime"
)

const Magnification = 7
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/tidbyt/pixlet
module tidbyt.dev/pixlet

go 1.14

Expand Down
2 changes: 1 addition & 1 deletion render.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/spf13/cobra"

"github.com/tidbyt/pixlet/runtime"
"tidbyt.dev/pixlet/runtime"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion render/animation/positioned.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/fogleman/gg"

"github.com/tidbyt/pixlet/render"
"tidbyt.dev/pixlet/render"
)

type AnimatedPositioned struct {
Expand Down
2 changes: 1 addition & 1 deletion render/animation/positioned_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"

"github.com/stretchr/testify/assert"
"github.com/tidbyt/pixlet/render"
"tidbyt.dev/pixlet/render"
)

func TestPositionedLinearCurve(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions runtime/animatedpositioned.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/mitchellh/hashstructure"
"go.starlark.net/starlark"

"github.com/tidbyt/pixlet/render"
"github.com/tidbyt/pixlet/render/animation"
"tidbyt.dev/pixlet/render"
"tidbyt.dev/pixlet/render/animation"
)

type AnimatedPositioned struct {
Expand Down
2 changes: 1 addition & 1 deletion runtime/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/mitchellh/hashstructure"
"go.starlark.net/starlark"

"github.com/tidbyt/pixlet/render"
"tidbyt.dev/pixlet/render"
)

type Root struct {
Expand Down
2 changes: 1 addition & 1 deletion runtime/gen/header.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/mitchellh/hashstructure"
"go.starlark.net/starlark"
"go.starlark.net/starlarkstruct"
"github.com/tidbyt/pixlet/render"
"tidbyt.dev/pixlet/render"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions runtime/gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"strings"
"text/template"

"github.com/tidbyt/pixlet/render"
"tidbyt.dev/pixlet/render"
)

const StarlarkHeaderTemplate = "./gen/header.tmpl"
Expand Down Expand Up @@ -194,7 +194,7 @@ func attachWidgetDocs(widgets []*StarlarkWidget) {
fset := token.NewFileSet()
astPkgs, err := parser.ParseDir(fset, RenderDirectory, nil, parser.ParseComments)
nilOrPanic(err)
pkg := doc.New(astPkgs["render"], "github.com/tidbyt/pixlet/render", 0)
pkg := doc.New(astPkgs["render"], "tidbyt.dev/pixlet/render", 0)
nilOrPanic(err)
docs := map[string]string{}
for _, type_ := range pkg.Types {
Expand Down
2 changes: 1 addition & 1 deletion runtime/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions runtime/plot.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package runtime
import (
"fmt"

gocolor "image/color"

"github.com/lucasb-eyer/go-colorful"
"github.com/mitchellh/hashstructure"
"go.starlark.net/starlark"
gocolor "image/color"

"github.com/tidbyt/pixlet/render"
"tidbyt.dev/pixlet/render"
)

type Plot struct {
Expand Down
2 changes: 1 addition & 1 deletion runtime/render_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/tidbyt/pixlet/render"
"tidbyt.dev/pixlet/render"
)

var TestDotStar = `
Expand Down
2 changes: 1 addition & 1 deletion runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"go.starlark.net/starlark"
"go.starlark.net/starlarkstruct"

"github.com/tidbyt/pixlet/render"
"tidbyt.dev/pixlet/render"
)

type ModuleLoader func(*starlark.Thread, string) (starlark.StringDict, error)
Expand Down
2 changes: 1 addition & 1 deletion serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/fsnotify/fsnotify"
"github.com/spf13/cobra"

"github.com/tidbyt/pixlet/runtime"
"tidbyt.dev/pixlet/runtime"
)

var (
Expand Down

0 comments on commit 0ffe34a

Please sign in to comment.