Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 356 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 356 Bytes

doitools

doitools is a Go package for working with DOI. E.g. It is used by other Caltech Library Go based projects.

    doi, err := doitools.NormalizeDOI("https://dx.doi.org/10.1021/acsami.7b15651")
    if err != nil {
        // handle error
    }
    // this should print out "10.1021/acsami.7b15651"
    fmt.Printf("DOI is %q", doi)