The init script contents

Before we run our init script, let's look at the contents of our init script:

#!/bin/bash# Author : Lex Sheehan# Purpose: This script initializes a go project with glide dependency management# For details see: https://www.amazon.com/Learning-Functional-Programming-Lex-Sheehan-ebook/dp/B0725B8MYW# License: MIT, 2017 Lex Sheehan LLCMY_DEV_DIR=~/devCURRENT_GO_VERSION=1.9.2USES_TOML_CONFIG_YN=noLOCAL_BIN_DIR=/usr/local/bin/# ---------------------------------------------------------------# Verify variables above are correct.  Do not modify lines below.if [ -L "$(pwd)" ]; then    echo "You must be in the real project directory to run this init script.  You are currently in a linked directory"    echo "Running: ln -l \"$(pwd)\"" ...

Get Learning Functional Programming in Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.