Telegram Web Link
What’s the problem with pipe-curl-into-sh?

You’ve seen it : many popular tools will have a one-liner homepage with something along the lines ofcurl https://fancy.tool/install.sh | /bin/shAnd inevitably people will comment on how unsafe this is.I don’t get it. How is it any more unsafe than cloning a repo and building and running its code/

via by ecco
Simple, minimal SQL database migrations written in Go with generics. Std lib database/sql and SQLX supported OOTB

I built GoSMig for personal projects and open-sourced it. It’s a tiny library for writing migrations in Go (compile-time checks via generics). Supports both transactional and non-transactional steps, rollback, status/version commands, and a built-in CLI handler so you can ship your own tool.Zero dependencies (std lib; golang.org/x/term used for pager support)database/sql and sqlx supported out of the box, others would work tootested with PostgreSQL, other RDBMSs would work tooRepo: https://github.com/padurean/gosmigExamples: https://github.com/padurean/gosmig/tree/examplesCurious how this compares to your current workflow and what would make it adoptable at work.Comments

via github.com by ogg
2025/10/26 09:31:00
Back to Top
HTML Embed Code: