Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to vanity import paths #25

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion cmd/yarndumper/yarndumper.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"log"
"os"

"github.com/DrJosh9000/yarn"
"drjosh.dev/yarn"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion cmd/yarnrunner/yarnrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"fmt"
"log"

"github.com/DrJosh9000/yarn"
"drjosh.dev/yarn"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
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/DrJosh9000/yarn
module drjosh.dev/yarn

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion load.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"os"
"strings"

yarnpb "github.com/DrJosh9000/yarn/bytecode"
yarnpb "drjosh.dev/yarn/bytecode"
"google.golang.org/protobuf/proto"
)

Expand Down
4 changes: 2 additions & 2 deletions vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
// 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"
"fmt"
"reflect"
"strings"

yarnpb "github.com/DrJosh9000/yarn/bytecode"
yarnpb "drjosh.dev/yarn/bytecode"
)

// Various sentinel errors returned by the virtual machine.
Expand Down