On one of my recent Go side projects, micropub-go, I've been using the wonderful SonarQube for visibility of code quality issues.
As my first real Go project, let alone first with SonarQube, it's been a bit of fun learning how to get it set up correctly with all the Go tools, but...
That’s just it for now :)
Am learning Go!
That’s just it for now :)
Am learning Go!
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 a...
This release’s biggest feature is the GOAMD64 support.
As noted in Converting a Byte Array to String with Buffer in Node.JS, you may encounter serialised Buffers when working with Node.JS projects.
We may want to do something similar in Go, so how would we do this?
package main
import "fmt"
func main() {
a := []byte{104, 1...
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...
When working with HTTP services, you're likely to encounter cookies for passing around state.
Although we could inspect the Cookie or Set-Cookie headers by hand, it's easier to have a tool automagically parse them for us, as they're not the easiest to read.
I've created the follo...
It's possible that you're using OpenAPI specifications to describe the format of your API, and as noted in Use a (JSON) Schema for the Interface Portion of your RESTful API is something I really recommend for codifying part of your API documentation.
If you're on a Go project, yo...
It's possible that you're using OpenAPI specifications to describe the format of your API, and as noted in Use a (JSON) Schema for the Interface Portion of your RESTful API is something I really recommend for codifying part of your API documentation.
If you're on a Go project, it...