Skip to content

alfarih31/nb-go-keyvalue

Repository files navigation

Noob-KeyValue

Go Reference GitHub go.mod Go version (subdirectory of monorepo) GitHub release (latest by date)

Noob KeyValue is utilities for golang to working with Map data-types with String Keys (map[string]interface{}), such as:

  • Assigning Map to Map
  • Creating Map from Struct
  • Getting Keys of a Map or Struct
  • Getting Values of a Map or Struct
  • Unmarshalling Map to Struct

Contents

Installation

To install this package, you need to install Go (version 1.17+ is required) & initiate your Go workspace first.

  1. After you initiate your workspace then you can install this package with below command.
go get -u github.com/alfarih31/nb-go-keyvalue
  1. Import it in your code
import "github.com/alfarih31/nb-go-keyvalue"

Quick Start & Usage

See the test: keyvalue_test.go

Contributors

License

This project is licensed under the - see the LICENSE.md file for details