Nick's Blog

Yet another technical blog

Skip to content
Menu
  • Home
  • Privacy Policy

Category: golang

golang

Golang: Build Linux binary from MacOS

Posted on June 28, 2020June 28, 2020 by NICK

Today I was write a Golang script for a client. I was using MacOS for development. And need to deploy into a Linux environment. Firstly,…

golang

When to use map vs struct in golang

Posted on June 9, 2020June 9, 2020 by NICK

The time to use a Map: All keys must be the same type All values must be the same type Keys are indexed – we…

golang

Golang value type and reference type

Posted on June 7, 2020 by NICK

In Golang, one of the confusing part is value type and reference type. Value type: int, float, string, bool, structs Reference type: slides, maps, channels,…

Recent Posts

  • Azure DevOps pipeline – Pass variable from sub-template to the main pipeline
  • failed to install CRD crds/crd-alertmanagerconfigs.yaml
  • Error: UPGRADE FAILED: create: Secret sh.helm.release.v1.prometheus.v42 is invalid: data: Too long: must have at most 1048576 bytes
  • AKS Thanos mtls setup – tls: failed to parse private key
  • Prometheus operator alertmanager not reload or not created
© Copyright 2025 – Nick's Blog
Wisteria Theme by WPFriendship ⋅ Powered by WordPress