From a5b4df26e9535b753e06d8061f30f58f40647291 Mon Sep 17 00:00:00 2001 From: Noval Agung Prayogo Date: Mon, 25 Dec 2023 08:44:00 +0000 Subject: [PATCH] refactor: update stylesheets --- content/1-berkenalan-dengan-golang.md | 2 +- content/2-instalasi-golang.md | 2 +- content/A-array.md | 2 +- content/A-buffered-channel.md | 2 +- content/A-channel-range-close.md | 2 +- content/A-channel-select.md | 2 +- content/A-channel-timeout.md | 2 +- content/A-channel.md | 2 +- content/A-client-http-request-simple.md | 2 +- content/A-command-line-args-flag.md | 2 +- content/A-concurrency-pipeline.md | 2 +- content/A-data-type-conversion.md | 2 +- content/A-defer-exit.md | 2 +- content/A-encoding-base64.md | 2 +- content/A-error-panic-recover.md | 2 +- content/A-exec.md | 2 +- content/A-file.md | 2 +- content/A-fungsi-closure.md | 2 +- content/A-fungsi-multiple-return.md | 2 +- content/A-fungsi-sebagai-parameter.md | 2 +- content/A-fungsi-variadic.md | 2 +- content/A-fungsi.md | 2 +- content/A-go-command.md | 2 +- content/A-go-vendoring.md | 2 +- content/A-golang-generics.md | 2 +- content/A-gopath-dan-workspace.md | 2 +- content/A-goroutine.md | 2 +- content/A-hash-sha1.md | 2 +- content/A-hello-world.md | 2 +- content/A-instalasi-editor.md | 2 +- content/A-interface-kosong.md | 2 +- content/A-interface.md | 2 +- content/A-json.md | 2 +- content/A-komentar.md | 2 +- content/A-konstanta.md | 2 +- content/A-map.md | 2 +- content/A-method.md | 2 +- content/A-mongodb.md | 2 +- content/A-mutex.md | 2 +- content/A-operator.md | 2 +- content/A-perulangan.md | 2 +- content/A-pipeline-context-cancellation.md | 2 +- content/A-pointer.md | 2 +- content/A-properti-public-dan-private.md | 2 +- content/A-random.md | 2 +- content/A-reflect.md | 2 +- content/A-regex.md | 2 +- content/A-seleksi-kondisi.md | 2 +- content/A-setup-go-project-dengan-go-modules.md | 2 +- content/A-simplified-fan-in-fan-out-pipeline.md | 2 +- content/A-slice.md | 2 +- content/A-sql.md | 2 +- content/A-string-format.md | 2 +- content/A-strings.md | 2 +- content/A-struct.md | 2 +- content/A-time-duration.md | 2 +- content/A-time-parsing-format.md | 2 +- content/A-timer-ticker-scheduler.md | 2 +- content/A-tipe-data.md | 2 +- content/A-unit-test.md | 2 +- content/A-url-parsing.md | 2 +- content/A-variabel.md | 2 +- content/A-waitgroup.md | 2 +- content/A-web-server.md | 2 +- content/A-web-service-api.md | 2 +- content/B-ajax-json-payload.md | 2 +- content/B-ajax-json-response.md | 2 +- content/B-ajax-multi-upload.md | 2 +- content/B-cookie.md | 2 +- content/B-custom-mux-multiplexer.md | 2 +- content/B-download-file.md | 2 +- content/B-form-upload-file.md | 2 +- content/B-form-value.md | 2 +- content/B-golang-web-hello-world.md | 2 +- content/B-http-basic-auth.md | 2 +- content/B-http-method-basic.md | 2 +- content/B-middleware-using-http-handler.md | 2 +- content/B-render-html-string.md | 2 +- content/B-render-specific-html-template.md | 2 +- content/B-routing-http-handlefunc.md | 2 +- content/B-routing-static-assets.md | 2 +- content/B-server-handler-http-request-cancellation.md | 2 +- content/B-simple-configuration.md | 2 +- content/B-template-actions-variables.md | 2 +- content/B-template-custom-functions.md | 2 +- content/B-template-functions.md | 2 +- content/B-template-render-html.md | 2 +- content/B-template-render-partial-html.md | 2 +- content/C-advanced-configuration-viper.md | 2 +- content/C-advanced-middleware-and-logging.md | 2 +- content/C-best-practice-configuration-env-var.md | 2 +- content/C-client-http-request-advanced.md | 2 +- content/C-convert-html-to-pdf.md | 2 +- content/C-cors-preflight-request.md | 2 +- content/C-csrf.md | 2 +- content/C-dockerize-golang.md | 2 +- content/C-echo-routing.md | 2 +- content/C-echo-template-rendering.md | 2 +- content/C-flag-parser.md | 2 +- content/C-go-project-layout.md | 2 +- content/C-golang-aws-s3.md | 2 +- content/C-golang-ftp.md | 2 +- content/C-golang-grpc-protobuf.md | 2 +- content/C-golang-jwt.md | 2 +- content/C-golang-ldap-authentication.md | 2 +- content/C-golang-protobuf-implementation.md | 2 +- content/C-golang-redis.md | 2 +- content/C-golang-ssh-sftp.md | 2 +- content/C-golang-sso-saml-sp.md | 2 +- content/C-golang-web-framework.md | 2 +- content/C-http-error-handling.md | 2 +- content/C-http-gzip-compression.md | 2 +- content/C-http-request-payload-validation.md | 2 +- content/C-http2-server-push.md | 2 +- content/C-https-tls.md | 2 +- content/C-parsing-http-request-payload-echo.md | 2 +- content/C-project-layout-structure.md | 2 +- content/C-read-write-excel-xlsx-file.md | 2 +- content/C-scraping-parsing-html.md | 2 +- content/C-secure-insecure-client-http-request.md | 2 +- content/C-secure-middleware.md | 2 +- content/C-securecookie.md | 2 +- content/C-send-email.md | 2 +- content/C-session.md | 2 +- content/C-singleflight.md | 2 +- content/C-write-pdf-file.md | 2 +- content/C-xml-parser.md | 2 +- content/D-golang-web-socket-chatting-app.md | 2 +- content/D-google-api-search.md | 2 +- content/D-insert-1mil-csv-record-into-db-in-a-minute.md | 2 +- 130 files changed, 130 insertions(+), 130 deletions(-) diff --git a/content/1-berkenalan-dengan-golang.md b/content/1-berkenalan-dengan-golang.md index 71961e3af..d69e8f6d7 100644 --- a/content/1-berkenalan-dengan-golang.md +++ b/content/1-berkenalan-dengan-golang.md @@ -27,4 +27,4 @@ Pada buku ini (terutama semua serial chapter A) kita akan belajar tentang dasar --- - + diff --git a/content/2-instalasi-golang.md b/content/2-instalasi-golang.md index e29406f21..36332a3c4 100644 --- a/content/2-instalasi-golang.md +++ b/content/2-instalasi-golang.md @@ -103,4 +103,4 @@ Jika pembaca tertarik untuk mencoba versi development Go, ingin mencoba fitur ya --- - + diff --git a/content/A-array.md b/content/A-array.md index 21743c626..10af138d1 100644 --- a/content/A-array.md +++ b/content/A-array.md @@ -203,4 +203,4 @@ Parameter pertama keyword `make` diisi dengan tipe data elemen array yang diingi --- - + diff --git a/content/A-buffered-channel.md b/content/A-buffered-channel.md index cc39378e3..fdbdc95a8 100644 --- a/content/A-buffered-channel.md +++ b/content/A-buffered-channel.md @@ -74,4 +74,4 @@ Lebih detailnya mengenai fungsi `time.Sleep()` dan `time.Second` dibahas pada ch --- - + diff --git a/content/A-channel-range-close.md b/content/A-channel-range-close.md index e22af69fb..6f6b3357e 100644 --- a/content/A-channel-range-close.md +++ b/content/A-channel-range-close.md @@ -78,4 +78,4 @@ Dan sebaliknya pada fungsi `printMessage(ch <-chan string)`, channel `ch` hanya --- - + diff --git a/content/A-channel-select.md b/content/A-channel-select.md index 29c81d0b2..3f45edaf0 100644 --- a/content/A-channel-select.md +++ b/content/A-channel-select.md @@ -87,4 +87,4 @@ Cukup mudah bukan? --- - + diff --git a/content/A-channel-timeout.md b/content/A-channel-timeout.md index 28d183719..aaa154359 100644 --- a/content/A-channel-timeout.md +++ b/content/A-channel-timeout.md @@ -74,4 +74,4 @@ Muncul output setiap kali ada penerimaan data dengan delay waktu acak. Ketika ti --- - + diff --git a/content/A-channel.md b/content/A-channel.md index a1f0fdee4..1a65b1e28 100644 --- a/content/A-channel.md +++ b/content/A-channel.md @@ -165,4 +165,4 @@ fmt.Println(message) --- - + diff --git a/content/A-client-http-request-simple.md b/content/A-client-http-request-simple.md index f41c8b25e..d175f667b 100644 --- a/content/A-client-http-request-simple.md +++ b/content/A-client-http-request-simple.md @@ -179,4 +179,4 @@ Kita telah mempelajari bagaimana cara membuat http request sederhana untuk kirim --- - + diff --git a/content/A-command-line-args-flag.md b/content/A-command-line-args-flag.md index dc5339ada..1fea223a4 100644 --- a/content/A-command-line-args-flag.md +++ b/content/A-command-line-args-flag.md @@ -138,4 +138,4 @@ Kegunaan dari parameter terakhir method-method flag adalah untuk memunculkan hin --- - + diff --git a/content/A-concurrency-pipeline.md b/content/A-concurrency-pipeline.md index 6c59e49f6..4b335c40e 100644 --- a/content/A-concurrency-pipeline.md +++ b/content/A-concurrency-pipeline.md @@ -543,4 +543,4 @@ Ok sekian untuk chapter panjang ini. --- - + diff --git a/content/A-data-type-conversion.md b/content/A-data-type-conversion.md index 287710ab0..370ec902f 100644 --- a/content/A-data-type-conversion.md +++ b/content/A-data-type-conversion.md @@ -251,4 +251,4 @@ Kombinasi `switch` - `case` bisa dimanfaatkan untuk deteksi tipe konkret data ya --- - + diff --git a/content/A-defer-exit.md b/content/A-defer-exit.md index cef1d59d5..0f891f4e9 100644 --- a/content/A-defer-exit.md +++ b/content/A-defer-exit.md @@ -137,4 +137,4 @@ Meskipun `defer fmt.Println("halo")` ditempatkan sebelum `os.Exit()`, statement --- - + diff --git a/content/A-encoding-base64.md b/content/A-encoding-base64.md index 6374a0192..08a092cd0 100644 --- a/content/A-encoding-base64.md +++ b/content/A-encoding-base64.md @@ -89,4 +89,4 @@ fmt.Println(decodedString) --- - + diff --git a/content/A-error-panic-recover.md b/content/A-error-panic-recover.md index e43ad6b39..6a2291e4a 100644 --- a/content/A-error-panic-recover.md +++ b/content/A-error-panic-recover.md @@ -218,4 +218,4 @@ Pada kode di atas, bisa dilihat di dalam perulangan terdapat sebuah IIFE untuk r --- - + diff --git a/content/A-exec.md b/content/A-exec.md index 9d0cff345..d472f8544 100644 --- a/content/A-exec.md +++ b/content/A-exec.md @@ -59,4 +59,4 @@ Selain `.Output()` ada sangat banyak sekali API untuk keperluan komunikasi denga --- - + diff --git a/content/A-file.md b/content/A-file.md index b315c8390..2ab152a7b 100644 --- a/content/A-file.md +++ b/content/A-file.md @@ -160,4 +160,4 @@ func main() { --- - + diff --git a/content/A-fungsi-closure.md b/content/A-fungsi-closure.md index 3ce696b51..4c60405ec 100644 --- a/content/A-fungsi-closure.md +++ b/content/A-fungsi-closure.md @@ -178,4 +178,4 @@ Output program: --- - + diff --git a/content/A-fungsi-multiple-return.md b/content/A-fungsi-multiple-return.md index 3c2ac6ace..796983568 100644 --- a/content/A-fungsi-multiple-return.md +++ b/content/A-fungsi-multiple-return.md @@ -105,4 +105,4 @@ Fungsi `math.Pow()` digunakan untuk memangkat nilai. `math.Pow(2, 3)` berarti 2 --- - + diff --git a/content/A-fungsi-sebagai-parameter.md b/content/A-fungsi-sebagai-parameter.md index f9ee24d5b..8eacd0a12 100644 --- a/content/A-fungsi-sebagai-parameter.md +++ b/content/A-fungsi-sebagai-parameter.md @@ -106,4 +106,4 @@ Variabel `result` bernilai `true` karena string `"ang"` merupakan bagian dari st --- - + diff --git a/content/A-fungsi-variadic.md b/content/A-fungsi-variadic.md index e73980d1a..75e54f00a 100644 --- a/content/A-fungsi-variadic.md +++ b/content/A-fungsi-variadic.md @@ -153,4 +153,4 @@ Output program: --- - + diff --git a/content/A-fungsi.md b/content/A-fungsi.md index 310ece6d9..b6c10fade 100644 --- a/content/A-fungsi.md +++ b/content/A-fungsi.md @@ -176,4 +176,4 @@ Di dalamnya terdapat proses validasi nilai variabel pembagi, jika nilainya adala --- - + diff --git a/content/A-go-command.md b/content/A-go-command.md index ee7fce5fc..907786226 100644 --- a/content/A-go-command.md +++ b/content/A-go-command.md @@ -106,4 +106,4 @@ Command ini digunakan untuk vendoring. Lebih detailnya akan dibahas di akhir ser --- - + diff --git a/content/A-go-vendoring.md b/content/A-go-vendoring.md index 7469056f2..35cb011aa 100644 --- a/content/A-go-vendoring.md +++ b/content/A-go-vendoring.md @@ -77,4 +77,4 @@ Untuk penggunaan vendor apakah wajib? menurut saya tidak. Sesuaikan kebutuhan sa --- - + diff --git a/content/A-golang-generics.md b/content/A-golang-generics.md index 1359d76c1..8af491f11 100644 --- a/content/A-golang-generics.md +++ b/content/A-golang-generics.md @@ -280,4 +280,4 @@ Ok, sekian pembahasan mengenai generics. Jika ada update perihal generic API aka --- - + diff --git a/content/A-gopath-dan-workspace.md b/content/A-gopath-dan-workspace.md index e18911a8d..eee21cc12 100644 --- a/content/A-gopath-dan-workspace.md +++ b/content/A-gopath-dan-workspace.md @@ -41,4 +41,4 @@ Struktur di atas merupakan struktur standar workspace Go. Jadi pastikan penamaan --- - + diff --git a/content/A-goroutine.md b/content/A-goroutine.md index bffd81a6d..653650da0 100644 --- a/content/A-goroutine.md +++ b/content/A-goroutine.md @@ -93,4 +93,4 @@ Bisa dilihat pada kode di atas, untuk menampung inputan text `trafalgar d law`, --- - + diff --git a/content/A-hash-sha1.md b/content/A-hash-sha1.md index 89114f48b..c6128c378 100644 --- a/content/A-hash-sha1.md +++ b/content/A-hash-sha1.md @@ -104,4 +104,4 @@ Metode ini sering dipakai untuk enkripsi password user. Salt dan data hasil hash --- - + diff --git a/content/A-hello-world.md b/content/A-hello-world.md index 2ddd0d59a..7718ab007 100644 --- a/content/A-hello-world.md +++ b/content/A-hello-world.md @@ -131,4 +131,4 @@ Contoh statement di atas akan menghasilkan output: **Hello world! how are you**. --- - + diff --git a/content/A-instalasi-editor.md b/content/A-instalasi-editor.md index 4b898c31e..c18c770d0 100644 --- a/content/A-instalasi-editor.md +++ b/content/A-instalasi-editor.md @@ -47,4 +47,4 @@ indent_size = 8 --- - + diff --git a/content/A-interface-kosong.md b/content/A-interface-kosong.md index 58e49eb6a..cb8ab83e9 100644 --- a/content/A-interface-kosong.md +++ b/content/A-interface-kosong.md @@ -154,4 +154,4 @@ for _, each := range fruits { --- - + diff --git a/content/A-interface.md b/content/A-interface.md index a890d6907..c8bb9a55e 100644 --- a/content/A-interface.md +++ b/content/A-interface.md @@ -183,4 +183,4 @@ Pada chapter [A.23. Pointer](/A-pointer.html) dijelaskan bahwa method pointer bi --- - + diff --git a/content/A-json.md b/content/A-json.md index 61196bb18..72ce09b14 100644 --- a/content/A-json.md +++ b/content/A-json.md @@ -138,4 +138,4 @@ Output: --- - + diff --git a/content/A-komentar.md b/content/A-komentar.md index 807097ee7..ba737d4ba 100644 --- a/content/A-komentar.md +++ b/content/A-komentar.md @@ -53,4 +53,4 @@ Sifat komentar ini sama seperti komentar inline, yaitu sama-sama diabaikan oleh --- - + diff --git a/content/A-konstanta.md b/content/A-konstanta.md index 16e7de0ad..52c3a60e5 100644 --- a/content/A-konstanta.md +++ b/content/A-konstanta.md @@ -108,4 +108,4 @@ const three, four string = "tiga", "empat" --- - + diff --git a/content/A-map.md b/content/A-map.md index a2850c091..4991d3058 100644 --- a/content/A-map.md +++ b/content/A-map.md @@ -179,4 +179,4 @@ var data = []map[string]string{ --- - + diff --git a/content/A-method.md b/content/A-method.md index dbf8394c4..491676ade 100644 --- a/content/A-method.md +++ b/content/A-method.md @@ -156,4 +156,4 @@ Lebih detailnya akan dibahas pada chapter selanjutnya. --- - + diff --git a/content/A-mongodb.md b/content/A-mongodb.md index 204c41c97..d3786986c 100644 --- a/content/A-mongodb.md +++ b/content/A-mongodb.md @@ -333,4 +333,4 @@ if len(result) > 0 { --- - + diff --git a/content/A-mutex.md b/content/A-mutex.md index 58a0a1438..66ee5c926 100644 --- a/content/A-mutex.md +++ b/content/A-mutex.md @@ -178,4 +178,4 @@ func main() { --- - + diff --git a/content/A-operator.md b/content/A-operator.md index 0c392636e..1c2135657 100644 --- a/content/A-operator.md +++ b/content/A-operator.md @@ -99,4 +99,4 @@ Template `\t` digunakan untuk menambahkan indent tabulasi. Biasa dimanfaatkan un --- - + diff --git a/content/A-perulangan.md b/content/A-perulangan.md index b8c7241c2..a3f66a746 100644 --- a/content/A-perulangan.md +++ b/content/A-perulangan.md @@ -163,4 +163,4 @@ Pada `for` bagian dalam, terdapat seleksi kondisi untuk pengecekan nilai `i`. Ke --- - + diff --git a/content/A-pipeline-context-cancellation.md b/content/A-pipeline-context-cancellation.md index 3f0f85459..442227033 100644 --- a/content/A-pipeline-context-cancellation.md +++ b/content/A-pipeline-context-cancellation.md @@ -454,4 +454,4 @@ Perbedannya ada pada penerapan *cancellation*-nya. Pada contoh ini kita tidak me --- - + diff --git a/content/A-pointer.md b/content/A-pointer.md index b664370f6..53117e3b4 100644 --- a/content/A-pointer.md +++ b/content/A-pointer.md @@ -107,4 +107,4 @@ Nilai variabel `number` berubah menjadi `10` karena perubahan yang terjadi di da --- - + diff --git a/content/A-properti-public-dan-private.md b/content/A-properti-public-dan-private.md index 1f910ec45..20c6a62f7 100644 --- a/content/A-properti-public-dan-private.md +++ b/content/A-properti-public-dan-private.md @@ -336,4 +336,4 @@ Dalam sebuah package diperbolehkan ada banyak fungsi `init()` (urutan eksekusiny --- - + diff --git a/content/A-random.md b/content/A-random.md index 80af2bb21..c2ee6666e 100644 --- a/content/A-random.md +++ b/content/A-random.md @@ -123,4 +123,4 @@ Dengan fungsi di atas kita bisa dengan mudah meng-generate string random dengan --- - + diff --git a/content/A-reflect.md b/content/A-reflect.md index 31bb36c51..74ce3a853 100644 --- a/content/A-reflect.md +++ b/content/A-reflect.md @@ -172,4 +172,4 @@ Jika eksekusi method diikuti pengisian parameter, maka parameternya harus dituli --- - + diff --git a/content/A-regex.md b/content/A-regex.md index 52afe610d..0bc35c9ea 100644 --- a/content/A-regex.md +++ b/content/A-regex.md @@ -171,4 +171,4 @@ Pada contoh di atas, ekspresi regexp `[a-b]+` digunakan sebagai kriteria split. --- - + diff --git a/content/A-seleksi-kondisi.md b/content/A-seleksi-kondisi.md index 3255aefa1..647b8040c 100644 --- a/content/A-seleksi-kondisi.md +++ b/content/A-seleksi-kondisi.md @@ -209,4 +209,4 @@ if point > 7 { --- - + diff --git a/content/A-setup-go-project-dengan-go-modules.md b/content/A-setup-go-project-dengan-go-modules.md index e8b572f29..392ce8a5a 100644 --- a/content/A-setup-go-project-dengan-go-modules.md +++ b/content/A-setup-go-project-dengan-go-modules.md @@ -50,4 +50,4 @@ O iya, sebenarnya selain Go Modules, setup project di Go juga bisa menggunakan ` --- - + diff --git a/content/A-simplified-fan-in-fan-out-pipeline.md b/content/A-simplified-fan-in-fan-out-pipeline.md index c2f70afa3..c01ada997 100644 --- a/content/A-simplified-fan-in-fan-out-pipeline.md +++ b/content/A-simplified-fan-in-fan-out-pipeline.md @@ -340,4 +340,4 @@ Nah dari sini semoga cukup jelas ya bedanya kalau dari sisi performa. Inilah pen --- - + diff --git a/content/A-slice.md b/content/A-slice.md index 44fe744e2..6ab751b88 100644 --- a/content/A-slice.md +++ b/content/A-slice.md @@ -264,4 +264,4 @@ fmt.Println(cap(bFruits)) // cap: 2 --- - + diff --git a/content/A-sql.md b/content/A-sql.md index 93a61593c..dd3f0b1fd 100644 --- a/content/A-sql.md +++ b/content/A-sql.md @@ -344,4 +344,4 @@ Selengkapya mengenai driver yang tersedia bisa dilihat di [https://github.com/go --- - + diff --git a/content/A-string-format.md b/content/A-string-format.md index 2483ba199..2ca787e1d 100644 --- a/content/A-string-format.md +++ b/content/A-string-format.md @@ -276,4 +276,4 @@ fmt.Printf("%%\n") --- - + diff --git a/content/A-strings.md b/content/A-strings.md index 174488a3d..1ca479fae 100644 --- a/content/A-strings.md +++ b/content/A-strings.md @@ -164,4 +164,4 @@ fmt.Println(str) // "EAT!" --- - + diff --git a/content/A-struct.md b/content/A-struct.md index 82355293c..7dc0d1bff 100644 --- a/content/A-struct.md +++ b/content/A-struct.md @@ -416,4 +416,4 @@ var num Number = 12 --- - + diff --git a/content/A-time-duration.md b/content/A-time-duration.md index 417749ada..03be4e1cf 100644 --- a/content/A-time-duration.md +++ b/content/A-time-duration.md @@ -128,4 +128,4 @@ duration := time.Duration(n) * time.Second --- - + diff --git a/content/A-time-parsing-format.md b/content/A-time-parsing-format.md index b14443579..c70d10d34 100644 --- a/content/A-time-parsing-format.md +++ b/content/A-time-parsing-format.md @@ -220,4 +220,4 @@ Kode di atas menghasilkan error karena format tidak sesuai dengan skema data yan --- - + diff --git a/content/A-timer-ticker-scheduler.md b/content/A-timer-ticker-scheduler.md index 50166f776..502717b9a 100644 --- a/content/A-timer-ticker-scheduler.md +++ b/content/A-timer-ticker-scheduler.md @@ -203,4 +203,4 @@ Ketika user tidak menginputkan apa-apa dalam kurun waktu 5 detik, maka akan munc --- - + diff --git a/content/A-tipe-data.md b/content/A-tipe-data.md index de931936b..53f3af934 100644 --- a/content/A-tipe-data.md +++ b/content/A-tipe-data.md @@ -126,4 +126,4 @@ Nantinya kita akan sering bertemu dengan `nil` setelah masuk pada pembahasan-pem --- - + diff --git a/content/A-unit-test.md b/content/A-unit-test.md index f1343ed6a..fcaa0174e 100644 --- a/content/A-unit-test.md +++ b/content/A-unit-test.md @@ -195,4 +195,4 @@ Fungsi `assert.Equal()` digunakan untuk uji perbandingan. Parameter ke-2 dibandi --- - + diff --git a/content/A-url-parsing.md b/content/A-url-parsing.md index e8f2e1385..bade0106e 100644 --- a/content/A-url-parsing.md +++ b/content/A-url-parsing.md @@ -45,4 +45,4 @@ Selain itu, query yang ada pada url akan otomatis diparsing juga, menjadi bentuk --- - + diff --git a/content/A-variabel.md b/content/A-variabel.md index 9e37430dd..39e017488 100644 --- a/content/A-variabel.md +++ b/content/A-variabel.md @@ -189,4 +189,4 @@ Dan lagi, mungkin banyak yang akan bingung. Ketika sudah masuk ke pembahasan mas --- - + diff --git a/content/A-waitgroup.md b/content/A-waitgroup.md index 6cd1f8f50..e2566f5a9 100644 --- a/content/A-waitgroup.md +++ b/content/A-waitgroup.md @@ -78,4 +78,4 @@ Kombinasi yang tepat antara `sync.WaitGroup` dan channel sangat penting, keduany --- - + diff --git a/content/A-web-server.md b/content/A-web-server.md index 2af3b9fbc..f4cc144fc 100644 --- a/content/A-web-server.md +++ b/content/A-web-server.md @@ -131,4 +131,4 @@ Sampai chapter ini yang kita pelajari adalah dasar-dasar pemrograman Go, dibahas --- - + diff --git a/content/A-web-service-api.md b/content/A-web-service-api.md index 6a3f35572..f8f563041 100644 --- a/content/A-web-service-api.md +++ b/content/A-web-service-api.md @@ -148,4 +148,4 @@ Data ID yang ingin dicari melalui endpoint /user, ditulis dengan ?id=B002 yang b --- - + diff --git a/content/B-ajax-json-payload.md b/content/B-ajax-json-payload.md index fc09efdda..25d46d77f 100644 --- a/content/B-ajax-json-payload.md +++ b/content/B-ajax-json-payload.md @@ -198,4 +198,4 @@ Gunakan fasilitas Developer Tools pada Chrome untuk melihat detail dari request. --- - + diff --git a/content/B-ajax-json-response.md b/content/B-ajax-json-response.md index 81f0d8b9e..127c6d6ef 100644 --- a/content/B-ajax-json-response.md +++ b/content/B-ajax-json-response.md @@ -91,4 +91,4 @@ Kode di atas hasilnya ekuivalen dengan penggunaan `json.Marshal`. --- - + diff --git a/content/B-ajax-multi-upload.md b/content/B-ajax-multi-upload.md index dc23c6e3e..d6a5fcc2f 100644 --- a/content/B-ajax-multi-upload.md +++ b/content/B-ajax-multi-upload.md @@ -206,4 +206,4 @@ Cek apakah file sudah terupload. --- - + diff --git a/content/B-cookie.md b/content/B-cookie.md index 701ebad27..7b8fa6eb5 100644 --- a/content/B-cookie.md +++ b/content/B-cookie.md @@ -132,4 +132,4 @@ Objek cookie memiliki beberapa property, beberapa di antaranya: --- - + diff --git a/content/B-custom-mux-multiplexer.md b/content/B-custom-mux-multiplexer.md index 7bfecc865..1482d015e 100644 --- a/content/B-custom-mux-multiplexer.md +++ b/content/B-custom-mux-multiplexer.md @@ -88,4 +88,4 @@ Jika ada keperluan untuk menambahkan middleware baru lainnya, cukup registrasika --- - + diff --git a/content/B-download-file.md b/content/B-download-file.md index 00525cb35..5cca97083 100644 --- a/content/B-download-file.md +++ b/content/B-download-file.md @@ -226,4 +226,4 @@ Jalankan program, akses rute `/`. List semua file dalam folder `files` muncul di --- - + diff --git a/content/B-form-upload-file.md b/content/B-form-upload-file.md index d6207d346..52b93350e 100644 --- a/content/B-form-upload-file.md +++ b/content/B-form-upload-file.md @@ -178,4 +178,4 @@ Jalankan program, test hasilnya lewat browser. --- - + diff --git a/content/B-form-value.md b/content/B-form-value.md index 429fd2546..3a86c20ec 100644 --- a/content/B-form-value.md +++ b/content/B-form-value.md @@ -138,4 +138,4 @@ OK, sekarang coba jalankan program yang telah kita buat, dan cek hasilnya. --- - + diff --git a/content/B-golang-web-hello-world.md b/content/B-golang-web-hello-world.md index 6ffb18859..9f0b213df 100644 --- a/content/B-golang-web-hello-world.md +++ b/content/B-golang-web-hello-world.md @@ -159,4 +159,4 @@ Ada banyak lagi property dari struct `http.Server` ini, yang pastinya akan dibah --- - + diff --git a/content/B-http-basic-auth.md b/content/B-http-basic-auth.md index 1c8e77914..91d0f47ab 100644 --- a/content/B-http-basic-auth.md +++ b/content/B-http-basic-auth.md @@ -233,4 +233,4 @@ $ curl -X GET --user batman:secret http://localhost:9000/student?id=s001 --- - + diff --git a/content/B-http-method-basic.md b/content/B-http-method-basic.md index 5ed8c8c68..20b6b4ab5 100644 --- a/content/B-http-method-basic.md +++ b/content/B-http-method-basic.md @@ -60,4 +60,4 @@ Jika method yang digunakan adalah selain POST dan GET, maka sesuai source code d --- - + diff --git a/content/B-middleware-using-http-handler.md b/content/B-middleware-using-http-handler.md index 39ab5014f..8790450d4 100644 --- a/content/B-middleware-using-http-handler.md +++ b/content/B-middleware-using-http-handler.md @@ -178,4 +178,4 @@ Dibanding metode pada chapter sebelumnya, dengan teknik ini kita bisa sangat mud --- - + diff --git a/content/B-render-html-string.md b/content/B-render-html-string.md index 86be710b0..6d7b3a4a5 100644 --- a/content/B-render-html-string.md +++ b/content/B-render-html-string.md @@ -64,4 +64,4 @@ Lakukan tes dan lihat hasilnya. --- - + diff --git a/content/B-render-specific-html-template.md b/content/B-render-specific-html-template.md index 3583d4a41..ac157e38b 100644 --- a/content/B-render-specific-html-template.md +++ b/content/B-render-specific-html-template.md @@ -82,4 +82,4 @@ Lakukan tes pada program yang telah kita buat, kurang lebih hasilnya seperti pad --- - + diff --git a/content/B-routing-http-handlefunc.md b/content/B-routing-http-handlefunc.md index 5f7009f53..9df6cd14b 100644 --- a/content/B-routing-http-handlefunc.md +++ b/content/B-routing-http-handlefunc.md @@ -82,4 +82,4 @@ Dalam routing, handler bisa berupa fungsi, closure, ataupun anonymous function; --- - + diff --git a/content/B-routing-static-assets.md b/content/B-routing-static-assets.md index acbf951ca..1254b354a 100644 --- a/content/B-routing-static-assets.md +++ b/content/B-routing-static-assets.md @@ -92,4 +92,4 @@ Routing static assets menjadi valid, karena file yang di-request akan cocok deng --- - + diff --git a/content/B-server-handler-http-request-cancellation.md b/content/B-server-handler-http-request-cancellation.md index 267c335b9..0ef2ee697 100644 --- a/content/B-server-handler-http-request-cancellation.md +++ b/content/B-server-handler-http-request-cancellation.md @@ -124,4 +124,4 @@ curl -X POST http://localhost:8080/ -H 'Content-Type: application/json' -d '{}' --- - + diff --git a/content/B-simple-configuration.md b/content/B-simple-configuration.md index bd0ed855f..8516fea7e 100644 --- a/content/B-simple-configuration.md +++ b/content/B-simple-configuration.md @@ -240,4 +240,4 @@ Kita akan membahas solusi dari beberapa masalah di atas pada chapter terpisah, y --- - + diff --git a/content/B-template-actions-variables.md b/content/B-template-actions-variables.md index 59caa078d..a7b7c3876 100644 --- a/content/B-template-actions-variables.md +++ b/content/B-template-actions-variables.md @@ -253,4 +253,4 @@ Untuk seleksi kondisi yang kondisinya adalah bersumber dari variabel bertipe `bo --- - + diff --git a/content/B-template-custom-functions.md b/content/B-template-custom-functions.md index 8a736362b..415c82267 100644 --- a/content/B-template-custom-functions.md +++ b/content/B-template-custom-functions.md @@ -114,4 +114,4 @@ Chapter selanjutnya akan membahas lebih detail mengenai penggunaan method `Parse --- - + diff --git a/content/B-template-functions.md b/content/B-template-functions.md index 0c87adb88..b80d8e9ec 100644 --- a/content/B-template-functions.md +++ b/content/B-template-functions.md @@ -237,4 +237,4 @@ Output: --- - + diff --git a/content/B-template-render-html.md b/content/B-template-render-html.md index e04e95d2d..ad1b757a2 100644 --- a/content/B-template-render-html.md +++ b/content/B-template-render-html.md @@ -145,4 +145,4 @@ Jalankan aplikasi untuk test hasil. --- - + diff --git a/content/B-template-render-partial-html.md b/content/B-template-render-partial-html.md index cfd40d449..c86a4de30 100644 --- a/content/B-template-render-partial-html.md +++ b/content/B-template-render-partial-html.md @@ -235,4 +235,4 @@ Jalankan aplikasi untuk test hasilnya. --- - + diff --git a/content/C-advanced-configuration-viper.md b/content/C-advanced-configuration-viper.md index 81a0be6b3..8ce1fbd12 100644 --- a/content/C-advanced-configuration-viper.md +++ b/content/C-advanced-configuration-viper.md @@ -156,4 +156,4 @@ Penggunaan fasilitas watcher memerlukan tambahan 3rd party library [fsnotify](ht --- - + diff --git a/content/C-advanced-middleware-and-logging.md b/content/C-advanced-middleware-and-logging.md index 1456ca0c9..529642b1f 100644 --- a/content/C-advanced-middleware-and-logging.md +++ b/content/C-advanced-middleware-and-logging.md @@ -277,4 +277,4 @@ Satu kata, *cantik*. --- - + diff --git a/content/C-best-practice-configuration-env-var.md b/content/C-best-practice-configuration-env-var.md index 7599e4ef9..b0738d442 100644 --- a/content/C-best-practice-configuration-env-var.md +++ b/content/C-best-practice-configuration-env-var.md @@ -163,4 +163,4 @@ Mungkin dari sini temen-temen bisa lanjut ke chapter [C.35. Dockerize Aplikasi G --- - + diff --git a/content/C-client-http-request-advanced.md b/content/C-client-http-request-advanced.md index 9953fe031..78119776c 100644 --- a/content/C-client-http-request-advanced.md +++ b/content/C-client-http-request-advanced.md @@ -195,4 +195,4 @@ Jalankan aplikasi server, buka prompt terminal/CMD baru, lalu jalankan aplikasi --- - + diff --git a/content/C-convert-html-to-pdf.md b/content/C-convert-html-to-pdf.md index 6025a5038..590c3528e 100644 --- a/content/C-convert-html-to-pdf.md +++ b/content/C-convert-html-to-pdf.md @@ -178,4 +178,4 @@ Cara ini cocok digunakan untuk konversi data HTML yang isinya muncul pada saat p --- - + diff --git a/content/C-cors-preflight-request.md b/content/C-cors-preflight-request.md index 150b2d288..4fefa8da0 100644 --- a/content/C-cors-preflight-request.md +++ b/content/C-cors-preflight-request.md @@ -298,4 +298,4 @@ Berikut adalah list konfigurasi yang bisa dimanfaatkan dari library ini. --- - + diff --git a/content/C-csrf.md b/content/C-csrf.md index d9af9e78d..7938ef433 100644 --- a/content/C-csrf.md +++ b/content/C-csrf.md @@ -226,4 +226,4 @@ Lewat teknik pencegahan ini, bukan berarti serangan CSRF tidak bisa dilakukan, s --- - + diff --git a/content/C-dockerize-golang.md b/content/C-dockerize-golang.md index 8c519d812..010077fdd 100644 --- a/content/C-dockerize-golang.md +++ b/content/C-dockerize-golang.md @@ -326,4 +326,4 @@ docker container stop my-container-hello-world --- - + diff --git a/content/C-echo-routing.md b/content/C-echo-routing.md index 4efdc1897..b9a11d5d3 100644 --- a/content/C-echo-routing.md +++ b/content/C-echo-routing.md @@ -285,4 +285,4 @@ Jalankan aplikasi, lalu coba akses `http://localhost:9000/static/layout.js`. --- - + diff --git a/content/C-echo-template-rendering.md b/content/C-echo-template-rendering.md index cd2143040..5868aec4f 100644 --- a/content/C-echo-template-rendering.md +++ b/content/C-echo-template-rendering.md @@ -143,4 +143,4 @@ Proses parsing dan rendering tidak di-handle oleh echo, melainkan menggunakan AP --- - + diff --git a/content/C-flag-parser.md b/content/C-flag-parser.md index 600b5dc06..bf3ef968e 100644 --- a/content/C-flag-parser.md +++ b/content/C-flag-parser.md @@ -342,4 +342,4 @@ Cobra merupakan library yang dirancang khusus untuk development aplikasi berbasi --- - + diff --git a/content/C-go-project-layout.md b/content/C-go-project-layout.md index f40487f58..720c3aeb4 100644 --- a/content/C-go-project-layout.md +++ b/content/C-go-project-layout.md @@ -19,4 +19,4 @@ Library FTP client yang kita gunakan adalah [github.com/jlaffaye/ftp](https://gi --- - + diff --git a/content/C-golang-aws-s3.md b/content/C-golang-aws-s3.md index e803ebe24..dc2e02934 100644 --- a/content/C-golang-aws-s3.md +++ b/content/C-golang-aws-s3.md @@ -443,4 +443,4 @@ Hasilnya: --- - + diff --git a/content/C-golang-ftp.md b/content/C-golang-ftp.md index 781882c6e..db0a484eb 100644 --- a/content/C-golang-ftp.md +++ b/content/C-golang-ftp.md @@ -299,4 +299,4 @@ Jalankan aplikasi, cek hasilnya. Untuk memvalidasi bahwa file di client dan di s --- - + diff --git a/content/C-golang-grpc-protobuf.md b/content/C-golang-grpc-protobuf.md index 013cccd93..744fbff20 100644 --- a/content/C-golang-grpc-protobuf.md +++ b/content/C-golang-grpc-protobuf.md @@ -547,4 +547,4 @@ OK, jika anda membaca sampai baris ini, berarti anda telah berhasil sabar dalam --- - + diff --git a/content/C-golang-jwt.md b/content/C-golang-jwt.md index ed07d9e59..3a7312435 100644 --- a/content/C-golang-jwt.md +++ b/content/C-golang-jwt.md @@ -413,4 +413,4 @@ Semua berjalan sesuai harapan. Agar lebih meyakinkan, coba lakukan beberapa test --- - + diff --git a/content/C-golang-ldap-authentication.md b/content/C-golang-ldap-authentication.md index 75aa9924c..5c058e9af 100644 --- a/content/C-golang-ldap-authentication.md +++ b/content/C-golang-ldap-authentication.md @@ -323,4 +323,4 @@ if err != nil { --- - + diff --git a/content/C-golang-protobuf-implementation.md b/content/C-golang-protobuf-implementation.md index d8edd55a7..72621f4cc 100644 --- a/content/C-golang-protobuf-implementation.md +++ b/content/C-golang-protobuf-implementation.md @@ -396,4 +396,4 @@ Pada chapter selanjutnya kita akan belajar tentang penerapan gRPC dan protobuf. --- - + diff --git a/content/C-golang-redis.md b/content/C-golang-redis.md index 44398054f..1d0e01715 100644 --- a/content/C-golang-redis.md +++ b/content/C-golang-redis.md @@ -169,4 +169,4 @@ Error, ini karena data yang disimpan hanya di retain sesuai `ttl` yaitu 3 detik, --- - + diff --git a/content/C-golang-ssh-sftp.md b/content/C-golang-ssh-sftp.md index 070f002fa..a816f87fc 100644 --- a/content/C-golang-ssh-sftp.md +++ b/content/C-golang-ssh-sftp.md @@ -270,4 +270,4 @@ Jalankan aplikasi untuk melihat hasilnya. --- - + diff --git a/content/C-golang-sso-saml-sp.md b/content/C-golang-sso-saml-sp.md index 6f5442c0f..d0504ae66 100644 --- a/content/C-golang-sso-saml-sp.md +++ b/content/C-golang-sso-saml-sp.md @@ -317,4 +317,4 @@ Salah satu benefit metode inisialisasi ini: ketika ada banyak aplikasi SP (misal --- - + diff --git a/content/C-golang-web-framework.md b/content/C-golang-web-framework.md index 008adeee5..67ff215e7 100644 --- a/content/C-golang-web-framework.md +++ b/content/C-golang-web-framework.md @@ -63,4 +63,4 @@ Ok, saya rasa cukup untuk pembahasan kali ini. Semoga bermanfaat --- - + diff --git a/content/C-http-error-handling.md b/content/C-http-error-handling.md index fd7ead0ca..c45a2cba6 100644 --- a/content/C-http-error-handling.md +++ b/content/C-http-error-handling.md @@ -111,4 +111,4 @@ Silakan ubah kode `fmt.Sprintf("%d.html", report.Code)` sesuai format nama halam --- - + diff --git a/content/C-http-gzip-compression.md b/content/C-http-gzip-compression.md index 67c5c927f..70cb27dab 100644 --- a/content/C-http-gzip-compression.md +++ b/content/C-http-gzip-compression.md @@ -147,4 +147,4 @@ e.Logger.Fatal(e.Start(":9000")) --- - + diff --git a/content/C-http-request-payload-validation.md b/content/C-http-request-payload-validation.md index fbeb84a48..e05577959 100644 --- a/content/C-http-request-payload-validation.md +++ b/content/C-http-request-payload-validation.md @@ -115,4 +115,4 @@ Nah, pada chapter selanjutnya kita akan belajar cara membuat custom error handle --- - + diff --git a/content/C-http2-server-push.md b/content/C-http2-server-push.md index d9c8ecd7e..042489085 100644 --- a/content/C-http2-server-push.md +++ b/content/C-http2-server-push.md @@ -168,4 +168,4 @@ Selain dari kolom protocol, penanda server push bisa dilihat juga lewat grafik * --- - + diff --git a/content/C-https-tls.md b/content/C-https-tls.md index 1b74a78c0..686874b94 100644 --- a/content/C-https-tls.md +++ b/content/C-https-tls.md @@ -137,4 +137,4 @@ Warning `NET::ERR_CERT_AUTHORITY_INVALID` muncul ketika mengakses sebuah website --- - + diff --git a/content/C-parsing-http-request-payload-echo.md b/content/C-parsing-http-request-payload-echo.md index d8c7cd153..3a4288166 100644 --- a/content/C-parsing-http-request-payload-echo.md +++ b/content/C-parsing-http-request-payload-echo.md @@ -121,4 +121,4 @@ curl -X GET http://localhost:9000/user?name=Joe&email=nope@novalagung.com --- - + diff --git a/content/C-project-layout-structure.md b/content/C-project-layout-structure.md index c518fb507..d7307d81c 100644 --- a/content/C-project-layout-structure.md +++ b/content/C-project-layout-structure.md @@ -119,4 +119,4 @@ Ok, sampai sini saja pembahasan mengenai project layout, selanjutnya silakan men --- - + diff --git a/content/C-read-write-excel-xlsx-file.md b/content/C-read-write-excel-xlsx-file.md index eb12df8f8..7bd3311a0 100644 --- a/content/C-read-write-excel-xlsx-file.md +++ b/content/C-read-write-excel-xlsx-file.md @@ -198,4 +198,4 @@ Jalankan aplikasi untuk mengecek hasilnya. --- - + diff --git a/content/C-scraping-parsing-html.md b/content/C-scraping-parsing-html.md index 9dfb128b3..ec7def3b3 100644 --- a/content/C-scraping-parsing-html.md +++ b/content/C-scraping-parsing-html.md @@ -196,4 +196,4 @@ Jalankan aplikasi, lihat hasilnya. --- - + diff --git a/content/C-secure-insecure-client-http-request.md b/content/C-secure-insecure-client-http-request.md index b1bb7e500..8eb6646d8 100644 --- a/content/C-secure-insecure-client-http-request.md +++ b/content/C-secure-insecure-client-http-request.md @@ -191,4 +191,4 @@ Tujuan mengapa penulis tambahkan sub chapter **Konfigurasi SSL/TLS Lanjutan** in --- - + diff --git a/content/C-secure-middleware.md b/content/C-secure-middleware.md index 59ecab98a..895e66c01 100644 --- a/content/C-secure-middleware.md +++ b/content/C-secure-middleware.md @@ -155,4 +155,4 @@ Lebih mendetailnya silakan langsung cek halaman official library secure di https --- - + diff --git a/content/C-securecookie.md b/content/C-securecookie.md index ca6f9ccfb..ea3fe2779 100644 --- a/content/C-securecookie.md +++ b/content/C-securecookie.md @@ -159,4 +159,4 @@ http.SetCookie(c.Response(), cookie) --- - + diff --git a/content/C-send-email.md b/content/C-send-email.md index b8a18ace4..14025d460 100644 --- a/content/C-send-email.md +++ b/content/C-send-email.md @@ -200,4 +200,4 @@ Daaaaannnnn ... cukup itu saja penyesuaiannya agar bisa kirim email via konfigur --- - + diff --git a/content/C-session.md b/content/C-session.md index a56da5b45..d3963c8f3 100644 --- a/content/C-session.md +++ b/content/C-session.md @@ -316,4 +316,4 @@ Tujuan dari kode yang kita tulis kurang lebih sebagai berikut. --- - + diff --git a/content/C-singleflight.md b/content/C-singleflight.md index 12cd1e787..33a7c549b 100644 --- a/content/C-singleflight.md +++ b/content/C-singleflight.md @@ -241,4 +241,4 @@ Cukup berguna bukan? Dengan adahnya singleflight API ini, beban backend akan sed --- - + diff --git a/content/C-write-pdf-file.md b/content/C-write-pdf-file.md index f6d57fa38..834331be1 100644 --- a/content/C-write-pdf-file.md +++ b/content/C-write-pdf-file.md @@ -93,4 +93,4 @@ Coba jalankan aplikasi untuk melihat hasilnya. Buka generated file `file.pdf`, i --- - + diff --git a/content/C-xml-parser.md b/content/C-xml-parser.md index 5445b5204..d8f7a2120 100644 --- a/content/C-xml-parser.md +++ b/content/C-xml-parser.md @@ -280,4 +280,4 @@ Jalankan aplikasi, lihat hasilnya. --- - + diff --git a/content/D-golang-web-socket-chatting-app.md b/content/D-golang-web-socket-chatting-app.md index f24f54b74..50286d74d 100644 --- a/content/D-golang-web-socket-chatting-app.md +++ b/content/D-golang-web-socket-chatting-app.md @@ -420,4 +420,4 @@ Ketika salah satu user leave, pesan **User XXX: disconnected** akan di-broadcast --- - + diff --git a/content/D-google-api-search.md b/content/D-google-api-search.md index db1fb4298..30d62ed6c 100644 --- a/content/D-google-api-search.md +++ b/content/D-google-api-search.md @@ -331,4 +331,4 @@ Error di atas muncul karena, host `localhost` belum didaftarkan pada API console --- - + diff --git a/content/D-insert-1mil-csv-record-into-db-in-a-minute.md b/content/D-insert-1mil-csv-record-into-db-in-a-minute.md index bc8710836..02c65b138 100644 --- a/content/D-insert-1mil-csv-record-into-db-in-a-minute.md +++ b/content/D-insert-1mil-csv-record-into-db-in-a-minute.md @@ -348,4 +348,4 @@ Praktek pada chapter ini sifatnya adalah POC, jadi sangat mungkin diperlukan pen --- - +