<feed xmlns='http://www.w3.org/2005/Atom'>
<title>golang-id-tour/local.go, branch main</title>
<subtitle>The source codes for tour.golang-id.org.</subtitle>
<id>http://git.kilabit.info/golang-id-tour/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/golang-id-tour/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/'/>
<updated>2026-02-02T14:57:47Z</updated>
<entry>
<title>local: add support for socket based activation with systemd</title>
<updated>2026-02-02T14:57:47Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2026-02-02T14:57:47Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=2f56b620fe3267c6fac10f6d5e4a7e857d5e71e7'/>
<id>urn:sha1:2f56b620fe3267c6fac10f6d5e4a7e857d5e71e7</id>
<content type='text'>
The tour program now can be activated by systemd.socket(5).
</content>
</entry>
<entry>
<title>all: tambah flag untuk mengatur Origin dari koneksi WebSocket</title>
<updated>2024-09-15T14:47:31Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2024-09-15T14:47:31Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=1b6d5089f95e7d3ae6c058108b5be04fce2a3598'/>
<id>urn:sha1:1b6d5089f95e7d3ae6c058108b5be04fce2a3598</id>
<content type='text'>
Misalnya, jika httpListen di set ke "127.0.0.1:10201" dan servis berjalan
dibelakang sebuah proksi dengan domain "tour.golang-id.local", koneksi
ke WebSocket akan ditolak, karena pada saat handshake origin dari request
dicocokan dengan host dan port dari httpListen.
</content>
</entry>
<entry>
<title>local: disable opening browser automatically by default</title>
<updated>2024-09-14T11:14:18Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2024-09-14T11:14:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=e1bf4a6125d0e118830442afe265f5d731326c59'/>
<id>urn:sha1:e1bf4a6125d0e118830442afe265f5d731326c59</id>
<content type='text'>
When the program run using system service, in the background, we did not
want it to open browser automatically.
</content>
</entry>
<entry>
<title>Merge commit '3891a3eb15c0'</title>
<updated>2023-11-12T05:47:29Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2023-11-12T05:47:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=12b6da0d8501baad59466294679c7f39653ecd17'/>
<id>urn:sha1:12b6da0d8501baad59466294679c7f39653ecd17</id>
<content type='text'>
Merge commit dari upstream sebelum semua berkas dihapus karena digabung
dengan golang.org/x/website di commit 241d4738f53e9d
</content>
</entry>
<entry>
<title>tour: look for content in module cache, not GOROOT/misc/tour</title>
<updated>2021-03-05T16:09:21Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2021-03-04T00:35:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=b3263fcf7749f3600c8928d5f7d4e8a66a34b74f'/>
<id>urn:sha1:b3263fcf7749f3600c8928d5f7d4e8a66a34b74f</id>
<content type='text'>
Tour content hasn't been available in GOROOT since Go 1.12¹, so stop
looking for it there.

A more useful fallback place to find tour content is the module cache.
When the golang.org/x/tour is in the build list, it will be found via
build.Import. It will not be found, however, when the tour binary is
run outside of a module. This situation is more common as of Go 1.16,
since the default GO111MODULE value changed to on². If the version of
the tour binary is known, access the content for that version from the
module cache.

In the future, this complex and imperfect machinery will be replaced
with simply embedding the needed files in the binary. We can't do that
quite yet (not without duplicating a lot of code) because Go 1.15 is
supported, and because Go 1.14 is used for deployment.

It's not neccessary to provide a custom socket.Environ (which served
to provide a custom GOPATH value pointing inside GOROOT; that path
is being removed here). Delete it along with some other unused code.

¹ https://golang.org/doc/go1.12#tour
² https://golang.org/doc/go1.16#modules

Fixes golang/go#44243.

Change-Id: Ia239700170b8614d21cafe9617b51dddf3e337d5
Reviewed-on: https://go-review.googlesource.com/c/tour/+/298529
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Trust: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>all: migrasi repository ke "github.com/golang-id/tour"</title>
<updated>2020-01-25T07:16:37Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2019-04-10T15:58:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=020a0d615f7bcdbe3cbf8535a1f7b41353e7c384'/>
<id>urn:sha1:020a0d615f7bcdbe3cbf8535a1f7b41353e7c384</id>
<content type='text'>
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".
</content>
</entry>
<entry>
<title>all: update module, repository, and import path</title>
<updated>2020-01-25T07:16:13Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2019-04-05T02:46:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=02e7993b01945e5e9a26f2afb74c364029ac2ce1'/>
<id>urn:sha1:02e7993b01945e5e9a26f2afb74c364029ac2ce1</id>
<content type='text'>
Since this repository use Go module now, to minimize unneeded dependency
to "golang.org/x/tour", we rename the import path on directory "contents"
and "solutions" to use our repository.
</content>
</entry>
<entry>
<title>Update repo link to use Go ID community</title>
<updated>2020-01-25T07:13:01Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2018-08-02T06:43:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=f4f8733c395085c81fcb97d9aec7e293f191de9e'/>
<id>urn:sha1:f4f8733c395085c81fcb97d9aec7e293f191de9e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix import check, use our repository path not official golang.</title>
<updated>2020-01-25T07:13:01Z</updated>
<author>
<name>Mhd Sulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2016-03-25T06:54:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=a234882f10b9402c0510f2234015af96c23841bb'/>
<id>urn:sha1:a234882f10b9402c0510f2234015af96c23841bb</id>
<content type='text'>
It cause "go install" return "can't install package" which make user
can not update all packages in their working directory using
"go install -v -a".
</content>
</entry>
<entry>
<title>tour: add analytics HTML and deploy instructions</title>
<updated>2019-10-02T17:10:47Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2019-10-01T19:53:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/golang-id-tour/commit/?id=6bb846ce41cdca087b14c8e3560a679691c424b6'/>
<id>urn:sha1:6bb846ce41cdca087b14c8e3560a679691c424b6</id>
<content type='text'>
When deployed with App Engine on tour.golang.org,
insert analytics HTML at the beginning of &lt;head&gt;.

Add deploy instructions to the README.

Also update to the App Engine Go 1.12 runtime.

Change-Id: Ib3333290783f34eb00843006cf949308302b342d
Reviewed-on: https://go-review.googlesource.com/c/tour/+/198320
Reviewed-by: Brad Fitzpatrick &lt;bradfitz@golang.org&gt;
</content>
</entry>
</feed>
