import "isbn"
Package isbn is used to validate book id numbers.
func IsValidISBN
func IsValidISBN(isbn string) bool
IsValidISBN returns true if the book id number is valid.
Example
{
fmt.Println(IsValidISBN("3-598-21508-8"))
fmt.Println(IsValidISBN("3-598-21508-9"))
fmt.Println(IsValidISBN("3-598-21507-X"))
}
true
false
true
Generated by gomarkdoc