Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hscells/doi
Parse and check doi objects in go.
https://github.com/hscells/doi
doi go golang parser
Last synced: about 1 month ago
JSON representation
Parse and check doi objects in go.
- Host: GitHub
- URL: https://github.com/hscells/doi
- Owner: hscells
- License: mit
- Created: 2017-08-02T05:58:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-21T05:50:49.000Z (over 7 years ago)
- Last Synced: 2024-07-31T20:53:12.091Z (5 months ago)
- Topics: doi, go, golang, parser
- Language: Go
- Homepage: https://godoc.org/github.com/hscells/doi
- Size: 3.91 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go - doi - Parse and check doi objects in go. - ★ 2 (Text Processing)
- awesome-go-extra - doi - 08-02T05:58:01Z|2017-08-21T05:50:49Z| (Bot Building / Parsers/Encoders/Decoders)
README
# doi
[![GoDoc](https://godoc.org/github.com/hscells/doi?status.svg)](https://godoc.org/github.com/hscells/doi)
_dealing with dois in go_
## Usage
```go
d, err := doi.Parse("11.1038/123456")
if err != nil {
println(d.ToString())
}
if d.IsValid() {
println("We are happy!")
}
```