doi dealing with dois in go Usage d, err := doi.Parse("11.1038/123456") if err != nil { println(d.ToString()) } if d.IsValid() { println("We are happy!") }