A basic golang package for demonstration purpose. Package currently contains only one function:
Go to your project root, where go.mod
file exists, than grab the library via:
go get github.com/SenRecep/mapsutils
package main
import (
"fmt"
"github.com/SenRecep/mapsutils"
"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")
}
}
- recepsen - Creator, maintainer
All PR’s are welcome!
fork
(https://github.com/SenRecep/mapsutils/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!
This project is licensed under MIT
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.