Install golang-github-cbroglie-mapstructure-dev by entering the following commands in the terminal:
sudo apt update sudo apt install golang-github-cbroglie-mapstructure-dev
Description:
Go library for decoding generic map values into native structures
Mapstructure is a Go library for decoding generic map values to structures and vice versa, while providing helpful error handling. . This library is most useful when decoding values from some data stream (JSON, Gob, etc.) where you don't quite know the structure of the underlying data until you read a part of it. You can therefore read a map[string]interface{} and use this library to decode it into the proper underlying native Go structure. . This package is a fork of the golang-github-mitchellh-mapstructure package to more elegantly support decoding data with an unknown structure by using the runtime reflection features of the Go language.
Homepage: https://github.com/cbroglie/mapstructure
Version: 0.0~git20150405.0.25325b4-2
Section: universe/devel