Skip to content

NimTechnology

Trình bày các công nghệ CLOUD một cách dễ hiểu.

  • Kubernetes & Container
    • Docker
    • Kubernetes
      • Gateway API
      • Ingress
      • Pod
    • Helm Chart
    • OAuth2 Proxy
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Argo Events
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • DevSecOps
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
      • Azure Cloud
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log, Monitor & Tracing
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

Category: Golang

[Golang/Protocol Buffers] Binarilize data by Proto Buf

Posted on December 5, 2023December 5, 2023 By nim No Comments on [Golang/Protocol Buffers] Binarilize data by Proto Buf
[Golang/Protocol Buffers] Binarilize data by Proto Buf

Hiện tại thì mình thấy 1 số product họ sẽ endcode Json Data sang Binary Data xong gửi đi,và họ dụng proto buf để support cho việc endcode. 1) Setup gRPC + Golang environment. Đầu tiên bạn cần setup môi trường: Dưới này là slide: https://docs.google.com/presentation/d/19zCPlujW2NIvUzG5NZFKqCIJmfyINoTasNtpsFSiQKo/edit#slide=id.p 2) Coding 2.1) Create proto file. mình tạo file…

Read More “[Golang/Protocol Buffers] Binarilize data by Proto Buf” »

Golang

[Golang] The declarations are very helpful in Golang

Posted on November 22, 2023 By nim No Comments on [Golang] The declarations are very helpful in Golang
[Golang] The declarations are very helpful in Golang

1) Short if in Golang. If rút gọn trong Golang: Đây là cách rút gọn.

Golang

[Golang/Swagger] Apply Swagger to describe the information API on Golang

Posted on October 30, 2023December 29, 2023 By nim 2 Comments on [Golang/Swagger] Apply Swagger to describe the information API on Golang
[Golang/Swagger] Apply Swagger to describe the information API on Golang

Sau khi chúng ta thực hiện code xong 1 api thì chúng ta cần note lên 1 swagger để các teams khác integrate sẽ dễ dàng hơn Với echo framework thì chúng ta sẽ sử dụng echo-swagger Bạn sẽ cần chạy các command dưới đây, cùng vị trí với file main.go tiếp đến bạn chạy…

Read More “[Golang/Swagger] Apply Swagger to describe the information API on Golang” »

Golang

[Golang] How is Singleton in Golang.

Posted on October 15, 2023October 16, 2023 By nim No Comments on [Golang] How is Singleton in Golang.
[Golang] How is Singleton in Golang.

Singleton là một mẫu thiết kế (design pattern) giúp hạn chế việc khởi tạo một lớp (class) chỉ có một instance duy nhất và cung cấp một điểm truy cập toàn cục đến instance này. Mục đích của mẫu Singleton là đảm bảo rằng một lớp chỉ có một instance và cung cấp một cách…

Read More “[Golang] How is Singleton in Golang.” »

Golang

[Golang] Define mapping when creating an index on Elasticsearch by Golang.

Posted on October 15, 2023October 15, 2023 By nim No Comments on [Golang] Define mapping when creating an index on Elasticsearch by Golang.
[Golang] Define mapping when creating an index on Elasticsearch by Golang.

Mình có sử dụng Golang để create index trên elasticsearch. Giờ chúng ta mổ sẻ từng bổ phần nhỏ “mappings”: “properties”: “type”: “date”: Specifies that the field will store date values. “City”: This is the name of the field in Elasticsearch.map[string]interface{}: This is a Go map, where the key is a string and the value…

Read More “[Golang] Define mapping when creating an index on Elasticsearch by Golang.” »

ELK, Golang

[Golang] To use regex to filter and give any values you want.

Posted on October 13, 2023November 30, 2023 By nim No Comments on [Golang] To use regex to filter and give any values you want.
[Golang] To use regex to filter and give any values you want.

Ví dụ như bạn có 1 ký tự 52.2 m² và bạn muốn lấy 52.2 sau đó lưu vào database. Certainly! Let’s break down the regular expression and the code: The Regular Expression: (\d+(\.\d+)?)\s*m? The Code: So, when the string “52.2 m²” is processed with this code, the regular expression will recognize “52.2” as the…

Read More “[Golang] To use regex to filter and give any values you want.” »

Golang

[Golang] Return Error in Golang

Posted on October 11, 2023October 12, 2023 By nim No Comments on [Golang] Return Error in Golang
[Golang] Return Error in Golang

Bình thường chúng ta có thể return error như sau: Next, you’ll adjust the error handling portion. If res.IsError() evaluates to true, instead of logging the error and continuing, you’ll return an error:

Golang

[Golang] Goda is a Go dependency analysis toolkit.

Posted on October 3, 2023October 3, 2023 By nim No Comments on [Golang] Goda is a Go dependency analysis toolkit.
[Golang] Goda is a Go dependency analysis toolkit.

Được bạn HungTP-Play giới thiệu! https://github.com/loov/goda Goda is a Go dependency analysis toolkit. It contains tools to figure out what your program is using. Note: the exact syntax of the command line arguments has not yet been finalized. So expect some changes to it.

Golang

[Golang] List large files in the folder quickly on Golang

Posted on September 29, 2023September 30, 2023 By nim No Comments on [Golang] List large files in the folder quickly on Golang
[Golang] List large files in the folder quickly on Golang

Certainly! Using tools like find on Unix-based systems can be a more efficient way to list files, especially for very large directories. Here’s a guide on how to integrate the find command with a Go program: Step-by-Step Guide: Example: Here’s a simple Go program that uses the find command to list all files in a…

Read More “[Golang] List large files in the folder quickly on Golang” »

Golang, Uncategorized

[Golang] Writing a metrics exporter through Golang and Prometheus

Posted on April 30, 2023May 4, 2023 By nim No Comments on [Golang] Writing a metrics exporter through Golang and Prometheus
[Golang] Writing a metrics exporter through Golang and Prometheus

Ờ bài này mình muốn tìn hiểu làm sao có thể view page để expose các metrics theo ý mình và sử dụng cho prometheus Sau đây mình sẽ thực hiện write theo video. 1) Using Demo of Prometheus Client. Đầu tiên chúng ta sẽ expose default golang metrics. file: main.go Bạn start chúng lên….

Read More “[Golang] Writing a metrics exporter through Golang and Prometheus” »

Golang

Posts pagination

Previous 1 2 3 4 … 6 Next
Tham Gia Group DevOps nhé!
Để Nim có nhiều động lực ra nhiều bài viết.
Để nhận được những thông báo mới nhất.

Recent Posts

  • [Rancher/EKS] Rancher from v2.12.x can not work on eks cluster. April 15, 2026
  • [Telegram/Openclaw] Configure openclaw bot in a Telegram group. March 31, 2026
  • Tutorial: Gateway API + Traefik + oauth2-proxy (Microsoft Entra ID) March 30, 2026
  • Full + incremental backup: When restoring, do deleted files come back? March 27, 2026
  • [K8S] Create long-lived kubeconfig on k8s March 23, 2026

Archives

  • April 2026
  • March 2026
  • February 2026
  • January 2026
  • December 2025
  • November 2025
  • October 2025
  • September 2025
  • August 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Categories

  • AI
    • OpenClaw
  • BareMetal
    • NextCloud
  • CI/CD
    • Argo Events
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • DevSecOps
    • Golang
    • Jquery & JavaScript
    • Laravel
    • NextJS 14 & ReactJS & Type Script
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • Azure Cloud
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Gateway API
      • Ingress
      • Pod
    • Longhorn – Storage
    • MetalLB
    • OAuth2 Proxy
    • Vault
    • VictoriaMetrics
  • Log, Monitor & Tracing
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Fluent
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2026 NimTechnology.