diff options
| author | Shulhan <ms@kilabit.info> | 2019-04-10 22:58:05 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-01-25 14:16:37 +0700 |
| commit | 020a0d615f7bcdbe3cbf8535a1f7b41353e7c384 (patch) | |
| tree | 7f1a9979e725d8885a81fbdfa817206cf6611620 | |
| parent | 02e7993b01945e5e9a26f2afb74c364029ac2ce1 (diff) | |
| download | golang-id-tour-020a0d615f7bcdbe3cbf8535a1f7b41353e7c384.tar.xz | |
all: migrasi repository ke "github.com/golang-id/tour"
Awalnya, terjemahan tur bahasa Indonesia diawali oleh Akeda Bagus
(@gedex) yang disimpan di repository "github.com/golang-id/go-tour-id".
Namun, terjemahan ini tertinggal jauh, terakhir diperbarui yaitu
2013-08-17.
Selanjutnya, terjemahan dimulai ulang oleh @shuLhan dari awal karena
struktur direktori dan berkasnya sudah jauh berubah. Terjemahan kedua
disimpan di repository "github.com/Go-ID-community/go-tour-id".
Repository ini menggabungkan keduanya dan disimpan di repository
yang baru "github.com/golang-id/tour".
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | .prettierignore | 1 | ||||
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | content/concurrency/exercise-equivalent-binary-trees.go | 2 | ||||
| -rw-r--r-- | content/methods/exercise-images.go | 2 | ||||
| -rw-r--r-- | content/methods/exercise-reader.go | 2 | ||||
| -rw-r--r-- | content/moretypes/exercise-maps.go | 2 | ||||
| -rw-r--r-- | content/moretypes/exercise-slices.go | 2 | ||||
| -rw-r--r-- | go.mod | 2 | ||||
| -rw-r--r-- | local.go | 8 | ||||
| -rw-r--r-- | pic/pic.go | 2 | ||||
| -rw-r--r-- | reader/validate.go | 2 | ||||
| -rw-r--r-- | solutions/binarytrees.go | 2 | ||||
| -rw-r--r-- | solutions/binarytrees_quit.go | 2 | ||||
| -rw-r--r-- | solutions/image.go | 2 | ||||
| -rw-r--r-- | solutions/maps.go | 2 | ||||
| -rw-r--r-- | solutions/readers.go | 2 | ||||
| -rw-r--r-- | solutions/slices.go | 2 | ||||
| -rw-r--r-- | static/js/values.js | 2 | ||||
| -rw-r--r-- | tour.go | 2 | ||||
| -rw-r--r-- | tree/tree.go | 2 | ||||
| -rw-r--r-- | wc/wc.go | 2 |
22 files changed, 26 insertions, 25 deletions
@@ -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 @@ -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 { } @@ -1,4 +1,4 @@ -module github.com/Go-ID-community/go-tour-id +module github.com/golang-id/tour go 1.11 @@ -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" ) @@ -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', @@ -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" @@ -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" |
