Skip to content

go install: godotenv #15

@AmitKumarDas

Description

@AmitKumarDas
# Derive GOBIN & set it as PATH
GOPATH=$(go env GOPATH)
GOBIN="${GOPATH}/bin"
export PATH="${PATH}:${GOBIN}"

# Install godotenv to read .env file(s)
go install github.com/joho/godotenv/cmd/godotenv@latest

godotenv -h

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions