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 (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-21T05:50:49.000Z (almost 7 years ago)
- Last Synced: 2024-04-30T10:27:03.476Z (about 1 month 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
Lists
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go-cn - doi
- awesome-go-extra - doi - 08-02T05:58:01Z|2017-08-21T05:50:49Z| (Bot Building / Parsers/Encoders/Decoders)
- awesome-go-zh - doi
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go-cn - doi
- awesome-go - doi - | - | - | (Text Processing / HTTP Clients)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- awesome-go-projects - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- awesome-go-cn - doi
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go-with-framework - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- go-awesome-cn-star - doi
- awesome-go-stars - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- zero-alloc-awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- awesome-go. - doi - Document object identifier (doi) parser in Go. (Text Processing / Advanced Console UIs)
- awesome-go - doi - Document object identifier (doi) parser in Go. (<span id="文字处理-text-processing">文字处理 Text Processing</span> / <span id="高级控制台用户界面-advanced-console-uis">高级控制台用户界面 Advanced Console UIs</span>)
- awesome-go-with-stars - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- repo-1316-awesome-go-cn - doi
- repo-1211-awesome-go-cn - doi
- awesome-Char - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- awesome-reader - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- Go-awesome - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go-cn - doi
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Advanced Console UIs)
- awesome-go-zh - doi
- awesome-go-handwritten - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- awesome-go - doi - Parse and check doi objects in go. - ★ 2 (Text Processing)
- awesome-go2 - doi - Document object identifier (doi) parser in Go. (Text Processing / Advanced Console UIs)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- awesome-go - doi - Document object identifier (doi) parser in Go. - :arrow_down:0 - :star:0 (Text Processing / HTTP Clients)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / HTTP Clients)
- awesome-go-cn - doi
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / Parsers/Encoders/Decoders)
- awesome-go - doi - Document object identifier (doi) parser in Go. (Text Processing / 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!")
}
```