<commit_before>2goarray
========

A simple utility to encode a file (or any other data) into a Go byte array.<commit_msg>Initial cut<commit_after>2goarray
========

A simple utility to encode a file (or any other data) into a Go byte array.

Usage
-----
Just provide the name of the slice and the name of the package. The tool
will convert whatever is piped through stdin and output a Go file.

#### Example

    2goarray MyArray mypackage < inputfile.png > outputfile.go
{'fraction_non_alphanumeric': 0.09129511677282377, 'fraction_numerical': 0.006369426751592357, 'mean_word_length': 4.0212765957446805, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3966785', 'n_tokens_mistral': 131, 'n_tokens_neox': 129, 'n_words': 68}