Hi Volker,
> On 25. Feb, 2021, at 09:34, Volker Dobler wrote:
>
> Well, there is already subcommand "test": go test runs the (unit) tests
> defined in the *_test.go files using package testing, so this won't work.
>
> Well there is nothing wrong with a plain "go run" (nor arguments at all)
> or
Hi Volker,
> On 25. Feb, 2021, at 08:46, Volker Dobler wrote:
>
> I think there is a major problem with "go run main.go": It creates
> a _false mental model_ of how Go code is built and executed in the
> minds of _beginners_.
I am a Go newbie and I agree, though I immediately understood that "g
Hi Andrew,
sorry, I got up on the wrong foot today. :-( I didn't mean to insult anyone,
especially not jackc, by my statement. I'm sure a lot of work has gone into
pgx. I'd like to apologize for that.
I try to keep in mind what you said.
P.S.: is this list generally a top-post list? Other mail
Hi Matthew,
> On 22. Feb, 2021, at 16:02, Matthew Holiday
> wrote:
>
> I don't know of a way without re-writing the library (it's not mine, btw :-)
I know. :-)
> Maybe pq was one very large package, less stuff broken into subpackages?
which means, only the packages whose functionality I use
Hi Andrew,
> On 22. Feb, 2021, at 16:02, Andrew Werner wrote:
>
> Hi Paul,
>
> What makes you say that that is “heavyweight”? For what it’s worth, many of
> those modules used to just be directories inside the pgx library. Splitting
> them out has been good for the ecosystem. In general, I’d
Hi Matthew,
> On 22. Feb, 2021, at 15:28, Matthew Holiday
> wrote:
>
> From the "status" section at the bottom of the README for pq:
>
> "This package is effectively in maintenance mode and is not actively
> developed. Small patches and features are only rarely reviewed and merged. We
> reco
Hi,
is there any important advantage of using github.com/jackc/pgx/v4 instead of
github.com/lib/pq? I ask because in my view, pgx is bloated beyond repair.
Please consider this:
$ go clean --modcache
$ du -sh ~/go/pkg; find ~/go/pkg -type f | wc -l
4.0K~/go/pkg
1
$ go
Hi Trig,
I'm new to the list and I'm a Go newbie, but
> On 12. Feb, 2021, at 01:09, Trig wrote:
>
> So, in Go... you can either define imports, constants, types, variables one
> at a time... or you can group them using brackets. Why was it decided not to
> be able to do that with functions?