Maps Utils
A basic golang package for demonstration purpose. Package currently contains only one function:
Installation
Go to your project root, where go.mod
file exists, than grab the library via:
go get github.com/seymasa/stringutils
Usage
package main
import (
"fmt"
"github.com/seymasa/stringutils"
"log"
)
func main() {
m1 := map[string]int{
"key1": 12,
}
m2 := map[string]int{
"key1": 12,
}
isEqual, err := mapsutils.DeepEqualMap(m1, m2)
if err != nil {
log.Fatal(err)
}
if isEqual {
fmt.Println("Maps is equal")
}
}
Contributor(s)
- seymasa - Creator, maintainer
Contribute
All PR’s are welcome!
fork
(https://github.com/seymasa/stringutils/fork)- Create your
branch
(git checkout -b my-feature
) commit
yours (git commit -am 'add some functionality'
)push
yourbranch
(git push origin my-feature
)- Than create a new Pull Request!
License
This project is licensed under GPLv3