From 1443368ba0c7a9f85af61ca21ae12d6f95afa076 Mon Sep 17 00:00:00 2001 From: Restu Fajar Sidhiq Date: Mon, 15 Sep 2025 10:42:50 +0700 Subject: [PATCH 1/2] Fix incorrect function definition in example code Replaces an anonymous function with a proper 'main' function in the Go code example to ensure correct usage and clarity for readers. --- content/C-golang-redis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/C-golang-redis.md b/content/C-golang-redis.md index 76d0a2a7e..793d8c273 100644 --- a/content/C-golang-redis.md +++ b/content/C-golang-redis.md @@ -66,7 +66,7 @@ Salah satu benefit yang didapat dengan menggunakan `go-redis` library, adalah su Ok, sekarang tambahkan kode berikut: ```go -func () { +func main() { // ... key := "key-1" From 86a3dd9ee108303c8dcd9b7ab5aeca8c4e69d1b8 Mon Sep 17 00:00:00 2001 From: novalagung Date: Tue, 11 Nov 2025 17:51:46 +0700 Subject: [PATCH 2/2] feat: add contributor --- content/CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/CONTRIBUTING.md b/content/CONTRIBUTING.md index e97abdcd1..031e2cd73 100644 --- a/content/CONTRIBUTING.md +++ b/content/CONTRIBUTING.md @@ -68,6 +68,7 @@ Berikut merupakan *hall of fame* kontributor yang sudah berbaik hati menyisihkan 1. [nekonako](https://github.com/nekonako) 1. [nisacodelifings](https://github.com/nisacodelifings) 1. [Nuevo Querto](https://github.com/NuevoQuerto) +1. [Restu Fajar Sidhiq](https://github.com/refs05) 1. [Rico](https://github.com/goldsky) 1. [Rizky Zhang](https://github.com/rizkyzhang) 1. [Ryan Febriansyah](https://github.com/sodrooome)