From 0a3b182973b2dbe31ee5b241ae0cd9defd500bca Mon Sep 17 00:00:00 2001 From: Josh Deprez Date: Fri, 18 Oct 2024 13:35:02 +1100 Subject: [PATCH] move to vanity import paths --- README.md | 6 +++--- cmd/yarndumper/yarndumper.go | 2 +- cmd/yarnrunner/yarnrunner.go | 2 +- convert.go | 2 +- debug.go | 2 +- go.mod | 2 +- load.go | 2 +- vm.go | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a4753ce..cbf41aa 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ A Go implementation of parts of Yarn Spinner 2.3. [![Build status](https://badge.buildkite.com/7b6f023cc8b2590b05d84ce6c15805381fd3888bc554344937.svg)](https://buildkite.com/drjosh9000/yarn) -[![Go Reference](https://pkg.go.dev/badge/github.com/DrJosh9000/yarn.svg)](https://pkg.go.dev/github.com/DrJosh9000/yarn) -[![Go Report Card](https://goreportcard.com/badge/github.com/DrJosh9000/yarn)](https://goreportcard.com/report/github.com/DrJosh9000/yarn) +[![Go Reference](https://pkg.go.dev/badge/drjosh.dev/yarn.svg)](https://pkg.go.dev/drjosh.dev/yarn) +[![Go Report Card](https://goreportcard.com/badge/drjosh.dev/yarn)](https://goreportcard.com/report/drjosh.dev/yarn) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/DrJosh9000/yarn/blob/main/LICENSE) The yarn package is a Go implementation of the @@ -86,7 +86,7 @@ commands to the handler. ```go package main - import "github.com/DrJosh9000/yarn" + import "drjosh.dev/yarn" func main() { // Load the files (error handling omitted for brevity): diff --git a/cmd/yarndumper/yarndumper.go b/cmd/yarndumper/yarndumper.go index c44bdd1..b6131fc 100644 --- a/cmd/yarndumper/yarndumper.go +++ b/cmd/yarndumper/yarndumper.go @@ -31,7 +31,7 @@ import ( "log" "os" - "github.com/DrJosh9000/yarn" + "drjosh.dev/yarn" ) func main() { diff --git a/cmd/yarnrunner/yarnrunner.go b/cmd/yarnrunner/yarnrunner.go index 64dc269..1c39eaf 100644 --- a/cmd/yarnrunner/yarnrunner.go +++ b/cmd/yarnrunner/yarnrunner.go @@ -33,7 +33,7 @@ import ( "fmt" "log" - "github.com/DrJosh9000/yarn" + "drjosh.dev/yarn" ) func main() { diff --git a/convert.go b/convert.go index 956c4cd..56af7aa 100644 --- a/convert.go +++ b/convert.go @@ -19,7 +19,7 @@ import ( "math" "strconv" - yarnpb "github.com/DrJosh9000/yarn/bytecode" + yarnpb "drjosh.dev/yarn/bytecode" ) // ConvertToBool attempts conversion of the standard Yarn Spinner VM types diff --git a/debug.go b/debug.go index e7a7473..9983388 100644 --- a/debug.go +++ b/debug.go @@ -20,7 +20,7 @@ import ( "strconv" "strings" - yarnpb "github.com/DrJosh9000/yarn/bytecode" + yarnpb "drjosh.dev/yarn/bytecode" ) // FormatInstruction prints an instruction in a format convenient for diff --git a/go.mod b/go.mod index a869857..55f7a59 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/DrJosh9000/yarn +module drjosh.dev/yarn go 1.21 diff --git a/load.go b/load.go index 0944442..286e3d8 100644 --- a/load.go +++ b/load.go @@ -20,7 +20,7 @@ import ( "os" "strings" - yarnpb "github.com/DrJosh9000/yarn/bytecode" + yarnpb "drjosh.dev/yarn/bytecode" "google.golang.org/protobuf/proto" ) diff --git a/vm.go b/vm.go index 7ad1d67..2464f6b 100644 --- a/vm.go +++ b/vm.go @@ -15,7 +15,7 @@ // Package yarn implements the Yarn Spinner virtual machine and dialogue system. // For the original implementation, see https://yarnspinner.dev and // https://github.com/YarnSpinnerTool/YarnSpinner. -package yarn // import "github.com/DrJosh9000/yarn" +package yarn // import "drjosh.dev/yarn" import ( "errors" @@ -23,7 +23,7 @@ import ( "reflect" "strings" - yarnpb "github.com/DrJosh9000/yarn/bytecode" + yarnpb "drjosh.dev/yarn/bytecode" ) // Various sentinel errors returned by the virtual machine.