Browse Source

Move to code.taxi

Andy Hochhaus 2 years ago
parent
commit
e92a395ea7
3 changed files with 6 additions and 6 deletions
  1. 1 1
      BUILD
  2. 2 2
      generator/gowriter.go
  3. 3 3
      test/soyotto_test.go

+ 1 - 1
BUILD

@@ -14,7 +14,7 @@
 
 load("@io_bazel_rules_go//go:def.bzl", "go_prefix", "go_library")
 
-go_prefix("github.com/socialworkout/soyotto")
+go_prefix("code.taxi/socialworkout/soyotto")
 
 exports_files(["typedarray.js"])
 

+ 2 - 2
generator/gowriter.go

@@ -127,7 +127,7 @@ func generateGoExportFile(files []*soyFile, goOut string, imports []string) {
 			}
 		}
 	}
-	sortedImports := []string{"github.com/socialworkout/soyotto"}
+	sortedImports := []string{"code.taxi/socialworkout/soyotto"}
 	if len(importMap) > 0 {
 		sortedImports = append(sortedImports, "github.com/golang/protobuf/proto")
 	}
@@ -144,7 +144,7 @@ func generateGoExportFile(files []*soyFile, goOut string, imports []string) {
 	write(f, "\n")
 	for _, imp := range sortedImports {
 		if imp == "github.com/golang/protobuf/proto" ||
-			imp == "github.com/socialworkout/soyotto" {
+			imp == "code.taxi/socialworkout/soyotto" {
 			write(f, "  \"%s\"\n", imp)
 		} else {
 			write(f, "  %s \"%s\"\n", impName(imp), imp)

+ 3 - 3
test/soyotto_test.go

@@ -18,9 +18,9 @@ import (
 	"bytes"
 	"testing"
 
-	"github.com/socialworkout/soyotto"
-	epb "github.com/socialworkout/soyotto/test/example/example_proto"
-	"github.com/socialworkout/soyotto/test/soy"
+	"code.taxi/socialworkout/soyotto"
+	epb "code.taxi/socialworkout/soyotto/test/example/example_proto"
+	"code.taxi/socialworkout/soyotto/test/soy"
 )
 
 const (