Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to pull out the GOPATH or an existing variable #169

Open
daison12006013 opened this issue Feb 10, 2022 · 0 comments
Open

How to pull out the GOPATH or an existing variable #169

daison12006013 opened this issue Feb 10, 2022 · 0 comments

Comments

@daison12006013
Copy link

DB_DATABASE="$GOPATH/src/proj/databases/sqlite.db"

I'm trying out above even ${GOPATH} though it looks like not supported yet?

Outcome:
The DB_DATABASE value is equal to /databases/sqlite.db only.

Expectation:
it supposed to be Users/johndoe/go/src/proj/databases/sqlite.db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant