this post was submitted on 09 Aug 2024
17 points (100.0% liked)

Golang

2197 readers
1 users here now

This is a community dedicated to the go programming language.

Useful Links:

Rules:

founded 1 year ago
MODERATORS
 

On my work I'm always switching between databases and kind of tired on UX differences between psql, mysql, sqlite3. So, I'm making a small set of tools for myself in tries to solve that. It's kinda works for me already and I'd like to share it here :)

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 1 points 3 months ago

Looks cool. Will try out later. Thanks for posting! πŸ‘

[–] [email protected] 0 points 3 months ago (1 children)

Perhaps you could elaborate your README with some examples of use? Also I can't seem to install using the go command you documented. I did compile after cloning, but I'm afraid I don't know the format the env vars are expecting, hence some examples would be helpful. Just adding some examples of setting the env variables would be nice.

[–] [email protected] 2 points 2 months ago

Thank you for a feedback!
README updated with a fixed install, I missed @latest in the end.

I'll work on a better README: https://github.com/yznts/dsh/issues/6.
I'm not that good at this kind of thing :)

For now, only url-like DSNs are supported, like:

  • postgres://user:pass@host:port/db?options
  • sqlite://file.db