Skip to content

Commit

Permalink
Merge pull request #25 from DrJosh9000/vanity-import-path
Browse files Browse the repository at this point in the history
Move to vanity import paths
  • Loading branch information
DrJosh9000 authored Oct 18, 2024
2 parents 10e7eaf + 0a3b182 commit 902f117
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
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

0 comments on commit 902f117

Please sign in to comment.