Blockchain In Go: Part IV: Fraud Detection

Introduction In the first three posts, I explained there were four aspects of a blockchain that this series would explore with a backing implementation provided by the Ardan blockchain project. Digital accounts with electronic signatures and verification Transaction distribution...

Reproducible builds with GoReleaser

GoReleaser can help you, to some extent, to have reproducible builds. Reproducible Builds What are reproducible builds? According to Reproducible-Builds.org: A build is reproducible if given the same source code, build environment and build instruction...

Some things that make shell scripts have performance issues

The temptation of writing shell scripts, illustrated

I Have Now Begun Learning Go!

That’s just it for now :) Am learning Go!

I Have Now Begun Learning Go!

That’s just it for now :) Am learning Go!

Blockchain In Go: Part III: Redundant Storage And Consensus

Introduction In the first two posts, I explained there were four aspects of a blockchain that this series would explore with a backing implementation provided by the Ardan blockchain project. Digital accounts with electronic signatures and verification Transaction distribution an...

Announcing GoReleaser v1.8 — the GOAMD64 release

This release’s biggest feature is the GOAMD64 support. Highlights support GOAMD64(#3016) upgraded from yaml.v2 to yaml.v3(#3004) deprecate gofish (#2999) added Slack notification options (#2988) a lot of bug fixes and docs improvements You can see the full changelog...

(Generic) Functional Options Pattern

Targeted Go version: 1.18 Author(s): Changkun Ou Permalink: https://golang.design/research/generic-option The widely used self-referential function pattern as options, originally proposed by Rob Pike1, allows us to design a flexible set of APIs to help arbitrary configurations a...

Quick tip: Easy test assertions with Go generics

Now that Go 1.18 has been released with support for generics, it's easier than ever to create helper functions for your test assertions. Using helpers for your test assertions can help to: Make your test functions clean and clear; Keep test failure messages consistent...