<commit_before>[![baby-gopher](https://raw2.github.com/drnic/babygopher-site/gh-pages/images/babygopher-badge.png)](http://www.babygopher.org)

# govalid - Go package for data validation

## Usage
```bash
go get github.com/pengux/govalid
```

To validate your data, you must implement the interface Validatable for the types that you want to validate. Checkout the file `e2e_test.go` for example of how to use this package and also how to define your own validators.
<commit_msg>Added link to file in README.md<commit_after>[![baby-gopher](https://raw2.github.com/drnic/babygopher-site/gh-pages/images/babygopher-badge.png)](http://www.babygopher.org)

# govalid - Go package for data validation

## Usage
```bash
go get github.com/pengux/govalid
```

To validate your data, you must implement the interface Validatable for the types that you want to validate. Checkout the file [`e2e_test.go`](https://github.com/pengux/govalid/blob/master/e2e_test.go) for example of how to use this package and also how to define your own validators.

{'fraction_non_alphanumeric': 0.1128254580520733, 'fraction_numerical': 0.0048216007714561235, 'mean_word_length': 4.766666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4364052', 'n_tokens_mistral': 350, 'n_tokens_neox': 329, 'n_words': 105}