项目作者: BitcoinSchema

项目描述 :
Go library for working with Magic Attribute Protocol (MAP)
高级语言: Go
项目地址: git://github.com/BitcoinSchema/go-map.git
创建时间: 2020-07-04T19:04:39Z
项目社区:https://github.com/BitcoinSchema/go-map

开源协议:MIT License

下载


go-map

Library for working with Magic Attribute Protocol in Go and used in conjunction with a Tape from go-bob

Release
Build Status
Report
codecov
Go


Mergify Status
Sponsor
Donate


Table of Contents


Installation

go-map requires a supported release of Go.
```shell script
go get -u github.com/bitcoinschema/go-map

  1. <br/>
  2. ## Documentation
  3. View the generated [documentation](https://pkg.go.dev/github.com/bitcoinschema/go-map)
  4. [![GoDoc](https://godoc.org/github.com/bitcoinschema/go-map?status.svg&style=flat)](https://pkg.go.dev/github.com/bitcoinschema/go-map)
  5. ### Features
  6. - [NewFromTape()](bob.go)
  7. - Support Commands:
  8. - [SET](magic.go)
  9. - [ADD](magic.go)
  10. - [DELETE](magic.go)
  11. - [REMOVE](magic.go)
  12. - [SELECT](magic.go)
  13. <details>
  14. <summary><strong><code>Package Dependencies</code></strong></summary>
  15. <br/>
  16. - [bitcoinschema/go-bob](https://github.com/bitcoinschema/go-bob)
  17. </details>
  18. <details>
  19. <summary><strong><code>Library Deployment</code></strong></summary>
  20. <br/>
  21. [goreleaser](https://github.com/goreleaser/goreleaser) for easy binary or library deployment to GitHub and can be installed via: `brew install goreleaser`.
  22. The [.goreleaser.yml](.goreleaser.yml) file is used to configure [goreleaser](https://github.com/goreleaser/goreleaser).
  23. Use `make release-snap` to create a snapshot version of the release, and finally `make release` to ship to production.
  24. </details>
  25. <details>
  26. <summary><strong><code>Makefile Commands</code></strong></summary>
  27. <br/>
  28. View all `makefile` commands
  29. ```shell script
  30. make help

List of all current commands:

  1. all Runs multiple commands
  2. clean Remove previous builds and any test cache data
  3. clean-mods Remove all the Go mod cache
  4. coverage Shows the test coverage
  5. diff Show the git diff
  6. generate Runs the go generate command in the base of the repo
  7. godocs Sync the latest tag with GoDocs
  8. help Show this help message
  9. install Install the application
  10. install-go Install the application (Using Native Go)
  11. install-releaser Install the GoReleaser application
  12. lint Run the golangci-lint application (install if not found)
  13. release Full production release (creates release in Github)
  14. release Runs common.release then runs godocs
  15. release-snap Test the full release (build binaries)
  16. release-test Full production test release (everything except deploy)
  17. replace-version Replaces the version in HTML/JS (pre-deploy)
  18. tag Generate a new tag and push (tag version=0.0.0)
  19. tag-remove Remove a tag if found (tag-remove version=0.0.0)
  20. tag-update Update an existing tag to current commit (tag-update version=0.0.0)
  21. test Runs lint and ALL tests
  22. test-ci Runs all tests via CI (exports coverage)
  23. test-ci-no-race Runs all tests via CI (no race) (exports coverage)
  24. test-ci-short Runs unit tests via CI (exports coverage)
  25. test-no-lint Runs just tests
  26. test-short Runs vet, lint and tests (excludes integration tests)
  27. test-unit Runs tests and outputs coverage
  28. uninstall Uninstall the application (and remove files)
  29. update-linter Update the golangci-lint package (macOS only)
  30. vet Run the Go vet application


Examples & Tests

All unit tests and examples run via GitHub Actions and
uses Go version 1.24.x. View the configuration file.

Run all tests (including integration tests)
```shell script
make test

  1. Run tests (excluding integration tests)
  2. ```shell script
  3. make test-short


Benchmarks

Run the Go benchmarks:
shell script make bench


Code Standards

Read more about this Go project’s code standards.


Usage

Checkout all the examples!


Maintainers

MrZ MrZ
Satchmo MrZ


Contributing

View the contributing guidelines and follow the code of conduct.

How can I help?

All kinds of contributions are welcome :raised_hands:!
The most basic way to show your support is to star :star2: the project, or to raise issues :speech_balloon:.
You can also support this project by becoming a sponsor on GitHub :clap:
or by making a bitcoin donation to ensure this journey continues indefinitely! :rocket:

Stars


License

License