Miguel Angel Acevedo
Faulty Developer

Faulty Developer

Follow
homebadgesnewsletter
JSON prettify with go without a struct

JSON prettify with go without a struct

If we have a JSON string and we need to prettify it without having a struct to unmarshal, we can use: package main import ( "bytes" "encoding/json" "fmt" "log" ) func PrettyJSON(str string) (string, error) { var prettyJSON bytes...

Miguel Angel Acevedo
Miguel Angel Acevedo

1 min read

Bash command to list open ports in macOS

Bash command to list open ports in macOS

Miguel Angel Acevedo
Miguel Angel Acevedo

1 min read

GIT file to ignore all files inside a folder

GIT file to ignore all files inside a folder

Miguel Angel Acevedo
Miguel Angel Acevedo

1 min read

pg-mem and uuid_generate_v4() mock

pg-mem and uuid_generate_v4() mock

Miguel Angel Acevedo

1 min read

Kafka tools in macOS

Kafka tools in macOS

Miguel Angel Acevedo

1 min read