<commit_before># Golang Threadpool implementation
[![Build Status](https://travis-ci.org/shettyh/threadpool.svg?branch=master)](https://travis-ci.org/shettyh/threadpool)
[![codecov](https://codecov.io/gh/shettyh/threadpool/branch/master/graph/badge.svg)](https://codecov.io/gh/shettyh/threadpool)

Scalable threadpool implementation using Go to handle the huge network trafic. 

## Install

`go get github.com/shettyh/threadpool`

## Usage

### Threadpool
- Implement `Runnable` interface for tha task that needs to be executed. For example


  ```
  type MyTask struct { }
   
  func (t *MyTask) Run(){
    // Do your task here
  }
   
  ```<commit_msg>Added godoc badge<commit_after># Golang Threadpool implementation
[![Build Status](https://travis-ci.org/shettyh/threadpool.svg?branch=master)](https://travis-ci.org/shettyh/threadpool)
[![codecov](https://codecov.io/gh/shettyh/threadpool/branch/master/graph/badge.svg)](https://codecov.io/gh/shettyh/threadpool)
[![GoDoc](https://godoc.org/github.com/shettyh/threadpool?status.svg)](https://godoc.org/github.com/shettyh/threadpool)

Scalable threadpool implementation using Go to handle the huge network trafic. 

## Install

`go get github.com/shettyh/threadpool`

## Usage

### Threadpool
- Implement `Runnable` interface for tha task that needs to be executed. For example


  ```
  type MyTask struct { }
   
  func (t *MyTask) Run(){
    // Do your task here
  }
   
  ```
{'fraction_non_alphanumeric': 0.1473463687150838, 'fraction_numerical': 0.0, 'mean_word_length': 4.327137546468402, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, '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': '3412950', 'n_tokens_mistral': 494, 'n_tokens_neox': 493, 'n_words': 99}