aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--.prettierignore1
-rw-r--r--README.md4
-rw-r--r--content/concurrency/exercise-equivalent-binary-trees.go2
-rw-r--r--content/methods/exercise-images.go2
-rw-r--r--content/methods/exercise-reader.go2
-rw-r--r--content/moretypes/exercise-maps.go2
-rw-r--r--content/moretypes/exercise-slices.go2
-rw-r--r--go.mod2
-rw-r--r--local.go8
-rw-r--r--pic/pic.go2
-rw-r--r--reader/validate.go2
-rw-r--r--solutions/binarytrees.go2
-rw-r--r--solutions/binarytrees_quit.go2
-rw-r--r--solutions/image.go2
-rw-r--r--solutions/maps.go2
-rw-r--r--solutions/readers.go2
-rw-r--r--solutions/slices.go2
-rw-r--r--static/js/values.js2
-rw-r--r--tour.go2
-rw-r--r--tree/tree.go2
-rw-r--r--wc/wc.go2
22 files changed, 26 insertions, 25 deletions
diff --git a/.gitignore b/.gitignore
index 7cf170b..2f065c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-/go-tour-id
/index.yaml
+/tour
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 0000000..bb0f0fa
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1 @@
+/static/js/values.js
diff --git a/README.md b/README.md
index d647aae..463f3f4 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Untuk memasang tur dari sumber kode, pertama
[siapkan sebuah _workspace_](https://golang.org/doc/code.html)
dan kemudian jalankan:
- $ go get github.com/Go-ID-community/go-tour-id
+ $ go get github.com/golang-id/tour
Perintah tersebut akan membuat program `tour` dalam direktori `bin` di
_workspace_ anda, yang dapat dijalankan di lokal.
@@ -30,7 +30,7 @@ Jika tidak, silakan buka [http://localhost:3999/](http://localhost:3999).
## Pelaporan Isu / Pengiriman patch
Repository ini menggunakan Github untuk perubahan kode, yang bisa diakses
-lewat https://github.com/Go-ID-community/go-tour-id/issues.
+lewat https://github.com/golang-id/tour/issues.
## Lisensi
diff --git a/content/concurrency/exercise-equivalent-binary-trees.go b/content/concurrency/exercise-equivalent-binary-trees.go
index 9414d94..788400b 100644
--- a/content/concurrency/exercise-equivalent-binary-trees.go
+++ b/content/concurrency/exercise-equivalent-binary-trees.go
@@ -2,7 +2,7 @@
package main
-import "github.com/Go-ID-community/go-tour-id/tree"
+import "github.com/golang-id/tour/tree"
// Walk walks the tree t sending all values
// from the tree to the channel ch.
diff --git a/content/methods/exercise-images.go b/content/methods/exercise-images.go
index 6d44804..34bd129 100644
--- a/content/methods/exercise-images.go
+++ b/content/methods/exercise-images.go
@@ -2,7 +2,7 @@
package main
-import "github.com/Go-ID-community/go-tour-id/pic"
+import "github.com/golang-id/tour/pic"
type Image struct{}
diff --git a/content/methods/exercise-reader.go b/content/methods/exercise-reader.go
index 350413b..7f1dfdd 100644
--- a/content/methods/exercise-reader.go
+++ b/content/methods/exercise-reader.go
@@ -2,7 +2,7 @@
package main
-import "github.com/Go-ID-community/go-tour-id/reader"
+import "github.com/golang-id/tour/reader"
type MyReader struct{}
diff --git a/content/moretypes/exercise-maps.go b/content/moretypes/exercise-maps.go
index 9530e54..71143b8 100644
--- a/content/moretypes/exercise-maps.go
+++ b/content/moretypes/exercise-maps.go
@@ -3,7 +3,7 @@
package main
import (
- "github.com/Go-ID-community/go-tour-id/wc"
+ "github.com/golang-id/tour/wc"
)
func WordCount(s string) map[string]int {
diff --git a/content/moretypes/exercise-slices.go b/content/moretypes/exercise-slices.go
index 169e499..ee766ef 100644
--- a/content/moretypes/exercise-slices.go
+++ b/content/moretypes/exercise-slices.go
@@ -2,7 +2,7 @@
package main
-import "github.com/Go-ID-community/go-tour-id/pic"
+import "github.com/golang-id/tour/pic"
func Pic(dx, dy int) [][]uint8 {
}
diff --git a/go.mod b/go.mod
index 9538456..9d7141a 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module github.com/Go-ID-community/go-tour-id
+module github.com/golang-id/tour
go 1.11
diff --git a/local.go b/local.go
index 1182100..1eaf757 100644
--- a/local.go
+++ b/local.go
@@ -24,13 +24,13 @@ import (
"golang.org/x/tools/playground/socket"
// Imports so that go build/install automatically installs them.
- _ "github.com/Go-ID-community/go-tour-id/pic"
- _ "github.com/Go-ID-community/go-tour-id/tree"
- _ "github.com/Go-ID-community/go-tour-id/wc"
+ _ "github.com/golang-id/tour/pic"
+ _ "github.com/golang-id/tour/tree"
+ _ "github.com/golang-id/tour/wc"
)
const (
- basePkg = "github.com/Go-ID-community/go-tour-id"
+ basePkg = "github.com/golang-id/tour"
socketPath = "/socket"
)
diff --git a/pic/pic.go b/pic/pic.go
index 03d2d9b..9e313b6 100644
--- a/pic/pic.go
+++ b/pic/pic.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package pic // import "github.com/Go-ID-community/go-tour-id/pic"
+package pic // import "github.com/golang-id/tour/pic"
import (
"bytes"
diff --git a/reader/validate.go b/reader/validate.go
index f108bf6..486c9d9 100644
--- a/reader/validate.go
+++ b/reader/validate.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package reader // import "github.com/Go-ID-community/go-tour-id/reader"
+package reader // import "github.com/golang-id/tour/reader"
import (
"fmt"
diff --git a/solutions/binarytrees.go b/solutions/binarytrees.go
index 53ba93b..fe47542 100644
--- a/solutions/binarytrees.go
+++ b/solutions/binarytrees.go
@@ -9,7 +9,7 @@ package main
import (
"fmt"
- "github.com/Go-ID-community/go-tour-id/tree"
+ "github.com/golang-id/tour/tree"
)
func walkImpl(t *tree.Tree, ch chan int) {
diff --git a/solutions/binarytrees_quit.go b/solutions/binarytrees_quit.go
index b07c7d1..a469767 100644
--- a/solutions/binarytrees_quit.go
+++ b/solutions/binarytrees_quit.go
@@ -9,7 +9,7 @@ package main
import (
"fmt"
- "github.com/Go-ID-community/go-tour-id/tree"
+ "github.com/golang-id/tour/tree"
)
func walkImpl(t *tree.Tree, ch, quit chan int) {
diff --git a/solutions/image.go b/solutions/image.go
index f14b5df..bdba7af 100644
--- a/solutions/image.go
+++ b/solutions/image.go
@@ -10,7 +10,7 @@ import (
"image"
"image/color"
- "github.com/Go-ID-community/go-tour-id/pic"
+ "github.com/golang-id/tour/pic"
)
type Image struct {
diff --git a/solutions/maps.go b/solutions/maps.go
index 5049aa6..f2565a0 100644
--- a/solutions/maps.go
+++ b/solutions/maps.go
@@ -9,7 +9,7 @@ package main
import (
"strings"
- "github.com/Go-ID-community/go-tour-id/wc"
+ "github.com/golang-id/tour/wc"
)
func WordCount(s string) map[string]int {
diff --git a/solutions/readers.go b/solutions/readers.go
index c1878c3..ba7036d 100644
--- a/solutions/readers.go
+++ b/solutions/readers.go
@@ -6,7 +6,7 @@
package main
-import "github.com/Go-ID-community/go-tour-id/reader"
+import "github.com/golang-id/tour/reader"
type MyReader struct{}
diff --git a/solutions/slices.go b/solutions/slices.go
index 3191116..d66ed02 100644
--- a/solutions/slices.go
+++ b/solutions/slices.go
@@ -6,7 +6,7 @@
package main
-import "github.com/Go-ID-community/go-tour-id/pic"
+import "github.com/golang-id/tour/pic"
func Pic(dx, dy int) [][]uint8 {
p := make([][]uint8, dy)
diff --git a/static/js/values.js b/static/js/values.js
index 9320c54..11a124e 100644
--- a/static/js/values.js
+++ b/static/js/values.js
@@ -49,7 +49,7 @@ value('translation', {
'submit-feedback': 'Kirim umpan-balik tentang halaman ini',
// GitHub issue template: update repo and messaging when translating.
- 'github-repo': 'github.com/Go-ID-community/go-tour-id',
+ 'github-repo': 'github.com/golang-id/tour',
'issue-title': 'tur: [GANTI DENGAN DESKRIPSI SINGKAT]',
'issue-message': 'Ganti judul di atas dan jelaskan isu yang anda hadapi di sini, ikutkan kode jika diperlukan',
'context': 'Konteks',
diff --git a/tour.go b/tour.go
index 7bc3933..1fdda55 100644
--- a/tour.go
+++ b/tour.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package main // import "github.com/Go-ID-community/go-tour-id"
+package main // import "github.com/golang-id/tour"
import (
"bytes"
diff --git a/tree/tree.go b/tree/tree.go
index 5c33bdf..e610449 100644
--- a/tree/tree.go
+++ b/tree/tree.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package tree // import "github.com/Go-ID-community/go-tour-id/tree"
+package tree // import "github.com/golang-id/tour/tree"
import (
"fmt"
diff --git a/wc/wc.go b/wc/wc.go
index 82eb412..9fe1977 100644
--- a/wc/wc.go
+++ b/wc/wc.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package wc // import "github.com/Go-ID-community/go-tour-id/wc"
+package wc // import "github.com/golang-id/tour/wc"
import "fmt"