• HOME
  • POSTS
  • CONTACT
  • LANGUAGES
    • English
    • Turkish

GO

Go (Golang) is an open source compiled programming language. It stands out for its speed and native concurrency support.

  • 1. 23/03/2025 Using DynamoDB Local docker image and NoSQL Workbench with Go
  • 2. 07/03/2025 Storing and recycling API authentication tokens using sync.Map in Golang
  • 3. 09/02/2025 Using OpenSearch API version 4 with Golang
  • 4. 02/11/2024 Using AWS Secrets Manager in Golang
  • 5. 01/11/2024 Using OpenSearch with Golang
  • 6. 09/10/2024 Using NewRelic transactions, segments and events in Golang HTTP APIs
  • 7. 08/09/2024 Creating a custom HTTP router with groups using Golang's standard library
  • 8. 03/09/2024 Using NewRelic with Golang's standard library handler
  • 9. 30/08/2024 Creating a custom Slog level in Golang
  • 10. 18/08/2024 Custom not found and method not allowed middleware for new Golang net/http router
  • 11. 18/08/2024 Using yaml for application configs and secrets in Golang
  • 12. 15/08/2024 Extracting struct fields in Golang
  • 13. 14/06/2024 Creating a consumer interceptor for Kafka in Golang
  • 14. 14/06/2024 Creating a producer interceptor for Kafka in Golang
  • 15. 11/06/2024 Creating a sync producer pool for transactional Kafka events in Golang
  • 16. 10/06/2024 Server Sent Event example for real-time communications in Golang
  • 17. 30/05/2024 Golang, OpenTelemetry, Jaeger, ElasticSearch and Kubernetes setup for application traces
  • 18. 27/05/2024 Setting up multi cluster Kafka server with docker compose
  • 19. 23/05/2024 Consuming specific Kafka topic partitions with a consumer group and ignoring others in Golang
  • 20. 23/05/2024 Kafka consumer groups running on multiple application instances
  • 21. 22/05/2024 Producing batch messages to Kafka using Golang
  • 22. 21/05/2024 Kafka sync and async producer example in Golang
  • 23. 20/05/2024 A sync Kafka producer and consumer example with Golang
  • 24. 20/05/2024 Creating consumers for each partition of a Kafka topic in Golang
  • 25. 20/05/2024 Checking Kafka topic existence in Golang
  • 26. 20/05/2024 Preserving message ordering in Kafka
  • 27. 17/05/2024 Setting up single broker Kafka server with Docker and using in a Golang service
  • 28. 04/04/2024 Using new http router with Golang APIs
  • 29. 16/02/2024 Creating an API rate limiter with Redis and Postgres in Golang
  • 30. 30/01/2024 Signing and verifying a JWT token with ECDSA in Golang
  • 31. 27/01/2024 Using ECDSA to sign and verify message in Golang
  • 32. 23/01/2024 Creating a Golang HTTP client that can retry and backoff request
  • 33. 21/01/2024 Using regex instead of build tags to differentiate unit and integration tests in Golang
  • 34. 21/01/2024 Using integration tests for Postgres database and Docker in Golang
  • 35. 21/01/2024 Using signal NotifyContext for graceful HTTP server shutdown in Golang
  • 36. 21/01/2024 Using AWS ElastiCache for Redis in Golang applications
  • 37. 19/01/2024 Using context from signal NotifyContext as HTTP base context in Golang
  • 38. 13/01/2024 Setting GOMAXPROCS in Kubernetes for Golang applications
  • 39. 27/09/2023 Using AWS DynamoDB table and Global Secondary Index for CRUD operations in Golang - v2
  • 40. 23/09/2023 Using AWS DynamoDB table and Global Secondary Index for CRUD operations in Golang
  • 41. 07/08/2023 A concurrent AWS S3 multipart upload example with Golang
  • 42. 14/07/2023 Configuring AWS with Terraform to send alarm emails after detecting error or warning in CloudWatch logs
  • 43. 14/07/2023 Configuring AWS with Terraform to regularly call AWS Lambda using EventBridge Scheduler
  • 44. 28/06/2023 Using AWS EventBridge, SQS, Lambda, SNS, CloudWatch to setup scheduled asynchronous event driven architecture with Terraform
  • 45. 23/06/2023 Sending emails with AWS SES in Golang applications
  • 46. 10/06/2023 Creating an AWS Lambda Terraform module for Golang
  • 47. 04/06/2023 Using pre-signed URL for AWS S3 file upload and download in Golang
  • 48. 03/06/2023 AWS assume role for cross-account access using Golang applications
  • 49. 07/05/2023 Traffic lights example with golang
  • 50. 24/04/2023 Asynchronous worker pool example with Golang
  • 51. 20/04/2023 Checking null field presence in Golang structs
  • 52. 19/04/2023 Standardising Golang HTTP handler to return response and error
  • 53. 19/04/2023 Standardising Golang HTTP handler to return error
  • 54. 20/03/2022 GitOps style CI/CD setup using GitHub Actions, ArgoCD, Helm and Kubernetes
  • 55. 23/02/2022 Managing Golang application secrets in local and kubernetes environments
  • 56. 22/02/2022 Managing application configurations in local and kubernetes environments
  • 57. 08/02/2022 Setting up an automated CI/CD pipeline with GitHub Actions, ArgoCD, Helm and Kubernetes
  • 58. 03/02/2022 Application deployment with Helm and GitHub actions to Kubernetes cluster
  • 59. 05/01/2022 Using AWS Parameter Store within a Golang application
  • 60. 01/01/2022 Using AWS EventBridge to manually send events to Lambda functions in Golang
  • 61. 01/01/2022 Calling a Golang AWS Lambda function periodically with a cron rule
  • 62. 31/12/2021 Using same MySQL connection in AWS Lambda with Golang example
  • 63. 30/12/2021 Invoking an AWS Lambda function in a Golang application using Localstack
  • 64. 28/12/2021 Handling a single AWS Lambda handler in Golang using Localstack
  • 65. 28/12/2021 Creating custom struct tags with Golang
  • 66. 28/12/2021 Handling multiple AWS Lambda handlers in Golang using Localstack
  • 67. 24/12/2021 A simple monorepo design that integrates with Docker and Kubernetes
  • 68. 18/12/2021 Read, write and truncate file operations with Golang
  • 69. 17/12/2021 Getting all objects from a AWS S3 bucket using Golang
  • 70. 19/10/2021 Golang SFTP client-server example to upload and download files over SSH connection (streaming)
  • 71. 18/10/2021 Golang SFTP client-server example to upload and download files over SSH connection
  • 72. 18/09/2021 Parsing XML with Golang
  • 73. 12/09/2021 Including and reading static files with embed directive at compile time in Golang
  • 74. 27/08/2021 Creating a One-Time Password (OTP) library for Two-Factor Authentication (2FA) with Golang
  • 75. 15/08/2021 Simultaneously processing multiple jobs in a task with Golang
  • 76. 12/08/2021 Managing application logs with EFK stack (Elasticsearch, Fluent-bit, Kibana) in Kubernetes
  • 77. 01/08/2021 Deploying a Golang application to Kubernetes cluster using GitHub actions
  • 78. 08/07/2021 Role-Based Access Control HTTP middleware in Golang
  • 79. 31/05/2021 Elasticsearch pagination query in Golang
  • 80. 28/05/2021 Creating gRPC protocol buffer files with Docker
  • 81. 28/05/2021 A simple Elasticsearch CRUD example in Golang
  • 82. 10/05/2021 OpenTelemetry HTTP client server example with Golang
  • 83. 10/05/2021 OpenTelemetry gRPC client server example with Golang
  • 84. 30/04/2021 Implementing OpenTelemetry and Jaeger tracing in Golang HTTP API
  • 85. 26/04/2021 Collecting Golang application metrics with Prometheus in Kubernetes
  • 86. 23/04/2021 Creating a temporary folder and file with Golang
  • 87. 15/04/2021 Reading and decoding a large JSON file as in streaming fashion with Golang
  • 88. 13/04/2021 Transferring files with gRPC client-side streams using Golang
  • 89. 12/04/2021 Creating a client-side gRPC streaming with Golang
  • 90. 05/04/2021 A simple AWS DynamoDB CRUD example in Golang
  • 91. 28/03/2021 Using Golang and AWS SNS to create a HTTP client and server API
  • 92. 17/03/2021 A basic setup for HashiCorp Vault to handle application secrets in Golang
  • 93. 16/03/2021 Using MongoDB one-to-one relationships with embedded documents in Golang
  • 94. 16/03/2021 Using MongoDB one-to-many relationships with embedded documents in Golang
  • 95. 15/03/2021 Using MongoDB one-to-many relationships with document references in Golang
  • 96. 15/03/2021 Using MongoDB one-to-many relationships to keep parent document reference in child document in Golang
  • 97. 12/03/2021 A simple MongoDB CRUD example in Golang
  • 98. 16/02/2021 Enabling Cassandra authentication in Golang
  • 99. 14/02/2021 Graceful shutdown of Golang pods with Kubernetes
  • 100. 11/02/2021 Cassandra pagination example with Golang
  • 101. 06/02/2021 Unit testing panic recovery middleware in Golang
  • 102. 01/02/2021 A simple Cassandra OAuth2 client and token model implementation with Golang
  • 103. 01/02/2021 Forcing Go Docker container to wait for Cassandra container
  • 104. 27/01/2021 Response middleware in Golang
  • 105. 27/01/2021 Access log middleware in Golang
  • 106. 26/01/2021 A synchronous and asynchronous AWS SQS worker example with Golang
  • 107. 25/01/2021 A simple AWS SQS example with Golang using Localstack
  • 108. 24/01/2021 A simple AWS SNS example with Golang using Localstack
  • 109. 23/01/2021 A simple AWS S3 example with Golang using Localstack
  • 110. 22/12/2020 General purpose struct to reduce dependency injection in Golang
  • 111. 06/12/2020 Strategy pattern models with Golang
  • 112. 15/11/2020 Running Nginx and Go containers in a single Kubernetes Pod
  • 113. 14/11/2020 Start, pause, resume and terminate a goroutine with Golang
  • 114. 10/11/2020 Deploying a database driven Golang application to Kubernetes
  • 115. 07/11/2020 Signing messages and verifying integrity with a secret using HMAC in Golang
  • 116. 01/11/2020 Creating and validating a JWT RSA token in Golang
  • 117. 01/11/2020 Creating and validating a JWT HMAC token in Golang
  • 118. 28/10/2020 Creating a server-side gRPC streaming with Golang
  • 119. 30/09/2020 A terminal CLI application accepting plain and secret input from the user in Golang
  • 120. 25/09/2020 Using Prometheus metrics in Golang and creating Grafana dashboard
  • 121. 17/09/2020 Creating gRPC unary middleware/interceptor for client and server Golang applications
  • 122. 15/09/2020 Cloning HTTP request context without cancel and deadline in Golang
  • 123. 13/09/2020 Using TLS/SSL certificates for gRPC client and server communications in Golang - Updated
  • 124. 10/09/2020 Handling a complex JSON request within a gRPC client and server Golang application
  • 125. 27/08/2020 Connecting to RabbitMQ server from Golang with self-signing SSL certificates
  • 126. 27/08/2020 Running limited goroutines at a time and gracefully exit using sync WaitGroup and errgroup
  • 127. 27/08/2020 Creating a RabbitMQ package for Golang application
  • 128. 13/08/2020 Using Redis transactions in Golang
  • 129. 12/08/2020 Using Golang to store structs in Redis hashes
  • 130. 08/08/2020 Cancelling all parent and child goroutines with sync errgroup if one fails in Golang
  • 131. 22/07/2020 Using mocks in unit tests with Golang
  • 132. 21/07/2020 Creating a gRPC protobuf library to use in client and server Golang applications
  • 133. 19/07/2020 Unit testing Golang gRPC client and server application with bufconn package
  • 134. 06/07/2020 Checking if RFC3339 or ISO 8601 time has expired in Golang
  • 135. 05/07/2020 Using golang bench, benchstat and benchcmp to measure performance
  • 136. 11/06/2020 Cancelling all running goroutines with a done channel as soon as one sends to channel in Golang
  • 137. 10/06/2020 Using time ticker to do something repeatedly at regular intervals with Golang
  • 138. 09/06/2020 Implementing the Functional Options or Options Pattern in Golang
  • 139. 09/06/2020 Golang functional options with errors
  • 140. 08/06/2020 An example HTTP JSON response package with Golang
  • 141. 07/06/2020 An example HTTP JSON request validator package with Golang
  • 142. 05/06/2020 RESTful HTTP API communicating with TCP server over HTTP network in Golang
  • 143. 03/06/2020 RESTful HTTP API communicating with TCP server over TCP network in Golang
  • 144. 29/05/2020 Creating a concurrent TCP client and server example with Golang
  • 145. 27/05/2020 Event listener and dispatcher example with Golang
  • 146. 26/05/2020 Implementing priority select within channels in Golang
  • 147. 21/05/2020 Creating a RabbitMQ DLX (Dead Letter Exchange) example with Golang
  • 148. 21/05/2020 Creating a RabbitMQ consumer example with Golang
  • 149. 17/05/2020 Dynamically selecting and running the right implementation in Golang
  • 150. 12/05/2020 Using interfaces to mock services in Golang tests
  • 151. 09/05/2020 Creating a RabbitMQ producer example with Golang
  • 152. 25/04/2020 Monitoring cpu, memory and goroutine allocation in Golang
  • 153. 17/04/2020 Forcing go docker container to wait for MySQL container
  • 154. 16/04/2020 Using serial confinement discipline to achieve thread safety in Golang
  • 155. 15/04/2020 A basic usage of int and string enum types in Golang
  • 156. 13/04/2020 Using mutex and semaphore to create a bank example with Golang
  • 157. 12/04/2020 A synchronous and asynchronous worker example with Golang
  • 158. 09/04/2020 Sending and receiving gRPC client server headers in Golang
  • 159. 07/04/2020 A simple worker and work queue example with Golang
  • 160. 07/04/2020 A ping pong example with Golang sync mutex
  • 161. 07/04/2020 A ping pong example with Golang channels
  • 162. 06/04/2020 Using a specific interface as an argument in Golang
  • 163. 06/04/2020 Strategy design pattern example in Golang
  • 164. 04/04/2020 Creating a simple gRPC client and server application with Golang
  • 165. 04/04/2020 Using TLS/SSL certificates for gRPC client and server communications in Golang
  • 166. 04/04/2020 Using OAuth authentication tokens for gRPC client and server communications in Golang
  • 167. 03/04/2020 Capture and reprint terminal output of a command in Golang
  • 168. 02/04/2020 Creating a detailed test coverage report and overall percentage in Golang
  • 169. 31/03/2020 Testing a middleware within Golang
  • 170. 26/03/2020 Tracing and debugging HTTP client requests within Golang
  • 171. 20/03/2020 Handling signals to gracefully terminate operations in Golang
  • 172. 18/03/2020 Generating a cryptography secure random string with variable length in Golang
  • 173. 13/03/2020 Database CRUD operations within Golang
  • 174. 12/03/2020 Cancelling database queries with context WithTimeout and WithCancel in Golang
  • 175. 05/03/2020 Data encryption and decryption with x509 public and private key example in Golang
  • 176. 04/03/2020 Hashing and verifying passwords with Argon2id in Golang
  • 177. 03/03/2020 Adding context key and value to HTTP server at application boot then accessing it in Request context in Golang
  • 178. 03/03/2020 Generating a strong random plain password with Golang
  • 179. 02/03/2020 Cancelling HTTP client requests with context WithTimeout and WithCancel in Golang
  • 180. 01/03/2020 Cancelling long running goroutines with Context WithTimeout within Golang
  • 181. 01/03/2020 Cancelling all running goroutines with Context WithCancel if one returns an error within Golang
  • 182. 01/03/2020 Cancelling all running goroutines with sync errgroup if one returns an error within Golang
  • 183. 29/02/2020 Data encryption and decryption with a secret key example in Golang
  • 184. 27/02/2020 Validating user password in Golang requests
  • 185. 27/02/2020 Validating bearer authorization header in Golang request
  • 186. 23/02/2020 Setting named URL path parameters in unit tests using httprouter package within Golang
  • 187. 23/02/2020 Setting HTTP request context parameters in Golang unit tests
  • 188. 15/02/2020 A simple batch job processing application in Golang
  • 189. 15/02/2020 Running multiple goroutines and jobs at a time in a loop with buffered channels
  • 190. 15/02/2020 Processing batch jobs in 2 goroutines concurrently within a Golang application
  • 191. 13/02/2020 Triggering 500 Internal Server Error response from a Golang API with a HTTP middleware
  • 192. 12/02/2020 Concurrent image processing with Golang goroutines and channels
  • 193. 07/02/2020 Using sync WaitGroup to wait for all goroutines to finish before proceeding
  • 194. 07/02/2020 Using a channel to wait for a single goroutine to finish in Golang
  • 195. 07/02/2020 Using goroutines to handle odd and even numbers with their dedicated channels in Golang
  • 196. 04/02/2020 Creating custom errors with Golang
  • 197. 04/02/2020 Mocking and testing HTTP clients in Golang
  • 198. 04/02/2020 Testing an endpoint that depends on an external service with Golang
  • 199. 04/02/2020 Purging all Redis cache items in Golang
  • 200. 16/01/2020 Testing a simple endpoint with Golang
  • 201. 16/01/2020 Testing an endpoint with custom headers within Golang
  • 202. 16/01/2020 Mocking a non-existent endpoint with a non-existent HTTP server in Golang
  • 203. 12/01/2020 Explicitly closing a channel to exit the forever loop
  • 204. 12/01/2020 Breaking a forever loop with labels and anonymous functions in Golang
  • 205. 10/01/2020 Recovering from panic in Golang applications
  • 206. 10/01/2020 Using an unbuffered channel to transmit one message at a time within Golang applications
  • 207. 09/01/2020 Using deferred functions in Golang
  • 208. 06/01/2020 HTTP/2 and TLS client and server example with Golang
  • 209. 23/12/2019 Putting Nginx in front of a Golang application with dockerised environment
  • 210. 23/12/2019 Working with database test fixtures in Golang unit tests
  • 211. 23/12/2019 Using regex placeholders in Golang unit tests
  • 212. 23/12/2019 Unit testing endpoints with and without URL parameters in Golang
  • 213. 23/12/2019 Database driven Golang applications and suggestions
  • 214. 23/12/2019 Gracefully handling server shutdown within Golang applications
  • 215. 23/12/2019 Mapping a multidimensional json string to its struct representation in Golang
  • 216. 23/12/2019 Using the sync package to run a Golang code only once
  • 217. 23/12/2019 Using setup and teardown in Golang unit tests
  • 218. 23/12/2019 Router middleware for Basic Auth with Golang
  • 219. 23/12/2019 Using a database instance and truncating tables in Golang unit tests
  • 220. 23/12/2019 HTTP Server and router middleware builder for Golang application
  • 221. 23/12/2019 Golang application performance profiling and visualising with pprof
  • 222. 23/12/2019 Interacting with database in Golang unit tests
  • 223. 23/12/2019 Logging stack trace info within a Golang application
  • 224. 23/12/2019 Panic recovery middleware for Golang HTTP server
  • 225. 23/12/2019 Multi stage docker build for a Golang application with and without vendor directory
  • 226. 01/01/2014 Interesting things


© 2014 ‐ 2025 inanzzz.com | Privacy Policy