tanaike - Google Apps Script, Gemini API, and Developer Tips

The Thinker

Decoding JSON by Golang

Decoding JSON by Golang func main() { data := `{ "A_key1": { "B_key1": { "C_key": "value" } }, "A_key2": { "B_key2": { "C_key": "value" } }, "A_key3": { "B_key3": { "C_key": "value" } }, "A_key4": { "B_key4": { "C_key": "value" } }, "A_key5": { "B_key5": { "C_key": "value" } } }` var p interface{} json.NewDecoder(strings.NewReader(data)).Decode(&p) fmt.Println(p) } Go Playground

Updated: CLI Tool - goris

goris is a CLI tool to search for images with Google Reverse Image Search. Today, it was updated to v1.0.1. Please check it out. https://github.com/tanaikech/goris When number of retrieved URLs is smaller than number of default output, an error had occurred. This was fixed.