Install
+go get github.com/sshaplygin/docs-code
+ diff --git a/.gitignore b/.gitignore index 584ea00..a21090c 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,7 @@ output.* # IDE .idea .vscode + +!docs/*.html +!docs/*.txt +!docs/*.xml \ No newline at end of file diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 0000000..9ae68c3 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,113 @@ + + +
+ + + + + + + + + + + + + + + + +GO LIBRARY
+Validate and generate the codes your Go application needs.
+SUPPORTED CODES
+OKATO format and hierarchy validation is also available. Existence lookup and generation are not implemented.
+USAGE
+go get github.com/sshaplygin/docs-code
+ valid, err := docs_code.Validate(
+ docs_code.INN,
+ "526317984689",
+)
+ code, err := docs_code.Generate(
+ docs_code.SNILS,
+)
+ MORE CONTROL
+Each document type is available as a focused package. Use it directly when your integration needs more than the common API.
+ Explore packages +