Re: [go-nuts] How to manage database schemas

2024-12-22 Thread Igor Cananea
There are a couple of good options for schema management in Go. Personally, I use goose with sqlc but you can use it with ORMs too. On Sun, Dec 22, 2024, 08:46 Bhavesh Kothari wrote: > Hello everyone, > I'm new to go and have to work on a project from scratch. > I looked into for various resour

Re: [go-nuts] Generics - please provide real life problems

2020-12-23 Thread Igor Cananea
While the example of ReverseSlice doesn't appear in my work experience, the concept of writing functions for slices independent of type is pretty common for me. Not having to copy to/from []someInterface or having to write (or go generate) multiple versions of the code differing only on the type w