From 03a9d77abfdf7ffc5d43fb7761aa1faaa5eeb3f7 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Thu, 21 Mar 2024 05:13:45 +0700 Subject: all: tambah akhiran "/" pada "link:" untuk mengurangi HTTP redirect 304 Tautan yang mengarah ke directori, bila tidak diakhiri dengan "/" akan di-_redirect_ otomatis ke "/". Misalnya, "GET /ref/spec" akan mengakibatkan dua kali request, GET /ref/spec => 304 GEt /ref/spec/ => 200 --- _content/doc/tutorial/call-module-code/index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_content/doc/tutorial/call-module-code/index.adoc') diff --git a/_content/doc/tutorial/call-module-code/index.adoc b/_content/doc/tutorial/call-module-code/index.adoc index 1880d5e..9ac7c09 100644 --- a/_content/doc/tutorial/call-module-code/index.adoc +++ b/_content/doc/tutorial/call-module-code/index.adoc @@ -148,7 +148,7 @@ require example.com/greetings v0.0.0-00010101000000-000000000000 Perintah tersebut menemukan modul lokal dalam direktori "greetings", kemudian menambahkan -link:/doc/modules/gomod-ref#require[direktif "require"] +link:/doc/modules/gomod-ref/#require[direktif "require"] untuk menspesifikasikan bahwa "example.com/hello" membutuhkan "example.com/greetings". Kita memakai dependensi ini saat kita mengimpor paket "greetings" dalam @@ -167,7 +167,7 @@ require example.com/greetings v1.1.0 ---- Untuk informasi lebih lanjut tentang angka versi, lihat -link:/doc/modules/version-numbers[Angka versi pada modul]. +link:/doc/modules/version-numbers/[Angka versi pada modul]. -- -- -- cgit v1.3