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

if [ -f /home/vagrant/.homestead-features/golang ]
then
    echo "Golang already installed."
    exit 0
fi

touch /home/vagrant/.homestead-features/golang
chown -Rf vagrant:vagrant /home/vagrant/.homestead-features

# Install Golang

golangVersion="1.13.4"
wget https://dl.google.com/go/go${golangVersion}.linux-amd64.tar.gz -O golang.tar.gz
tar -C /usr/local -xzf golang.tar.gz go
printf "\nPATH=\"/usr/local/go/bin:\$PATH\"\n" | tee -a /home/vagrant/.profile
rm -rf golang.tar.gz<commit_msg> Update golang version to 1.13.5 (#1335)<commit_after>#!/usr/bin/env bash

if [ -f /home/vagrant/.homestead-features/golang ]
then
    echo "Golang already installed."
    exit 0
fi

touch /home/vagrant/.homestead-features/golang
chown -Rf vagrant:vagrant /home/vagrant/.homestead-features

# Install Golang

golangVersion="1.13.5"
wget https://dl.google.com/go/go${golangVersion}.linux-amd64.tar.gz -O golang.tar.gz
tar -C /usr/local -xzf golang.tar.gz go
printf "\nPATH=\"/usr/local/go/bin:\$PATH\"\n" | tee -a /home/vagrant/.profile
rm -rf golang.tar.gz
{'fraction_non_alphanumeric': 0.16497695852534563, 'fraction_numerical': 0.020276497695852536, 'mean_word_length': 3.5062240663900415, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3365547', 'n_tokens_mistral': 465, 'n_tokens_neox': 422, 'n_words': 85}