<commit_before>#!/usr/bin/env bash

set -e

TOOLS=(
    "golang.org/x/tools/cmd/..."
    "github.com/rogpeppe/godef"
    "github.com/nsf/gocode"
    "github.com/alecthomas/gometalinter"
    "github.com/mailgun/godebug"
    "github.com/motemen/ghq"
    "github.com/motemen/gore"
    "github.com/cortesi/devd/cmd/devd"
    "github.com/pranavraja/tldr"
)

FORMULAS="go"

go_get() {
    for t in "${TOOLS[@]}"; do
        printf "go get -u $t"
        go get -u $t
        printf " ...done\n"
    done
}

main() {
    brew install ${FORMULAS}
    go_get
}

main
<commit_msg>go: Get only useful tools from golang.org/x/tools<commit_after>#!/usr/bin/env bash

set -e

TOOLS=(
    "golang.org/x/tools/cmd/benchcmp"
    "golang.org/x/tools/cmd/cover"
    "golang.org/x/tools/cmd/godoc"
    "golang.org/x/tools/cmd/goimports"
    "golang.org/x/tools/cmd/gorename"
    "golang.org/x/tools/cmd/stringer"
    "golang.org/x/tools/cmd/vet"
    "github.com/rogpeppe/godef"
    "github.com/nsf/gocode"
    "github.com/alecthomas/gometalinter"
    "github.com/mailgun/godebug"
    "github.com/motemen/ghq"
    "github.com/motemen/gore"
    "github.com/cortesi/devd/cmd/devd"
    "github.com/pranavraja/tldr"
)

FORMULAS="go"

go_get() {
    for t in "${TOOLS[@]}"; do
        printf "go get -u $t"
        go get -u $t
        printf " ...done\n"
    done
}

main() {
    brew install ${FORMULAS}
    go_get
}

main

{'fraction_non_alphanumeric': 0.17226590421729807, 'fraction_numerical': 0.0, 'mean_word_length': 2.4229828850855744, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6732541', 'n_tokens_mistral': 635, 'n_tokens_neox': 610, 'n_words': 90}