I have not poked in the internals
but Gorm has drivers for the dbs it supports which implement a common
interface.
The sqlite driver is "github.com/go-gorm/sqlite" which pulls talks to
the CGO "github.com/mattn/go-sqlite3".
I could just try forking "github.com/go-gorm/sqlite" and
replacing
I haven't yet used Gorm. Does it rely only on the API database/sql provides
or is something more needed?
In the first instance you should be theoretically good to go right now on
some popular Linux architectures - namely amd64, 386, arm and arm64.
Otherwise please let me know about what's
Is there any way we can use this library with Gorm?
On Saturday, 29 August 2020 at 00:22:01 UTC+1 xav...@gmail.com wrote:
> Thanks Jan, this is very exciting! I'm looking forward to an opportunity
> to use this.
>
> On Wed, Aug 26, 2020 at 2:51 PM Jan Mercl <0xj...@gmail.com> wrote:
>
>> From
Thanks Jan, this is very exciting! I'm looking forward to an opportunity to
use this.
On Wed, Aug 26, 2020 at 2:51 PM Jan Mercl <0xj...@gmail.com> wrote:
> From the change log (https://godoc.org/modernc.org/sqlite#hdr-Changelog)
>
> 2020-08-26 v1.4.0:
>
> First stable release for linux/amd64.
On Thu, Aug 27, 2020, 18:49 Amnon wrote
>
> Just one question.
> How will you track upstream changes in the original C sqlite?
>
That's accomplished at the moment by updating the remote urls at
https://gitlab.com/cznic/sqlite/-/blob/master/generator.go#L203 as well as
the associated
Fantastic work!
And this will be super useful to the community.
I have used sqlite memory dbs for unit tests in the past, and this always
caused me portability pain.
Just one question.
How will you track upstream changes in the original C sqlite?
On Thursday, 27 August 2020 14:24:23 UTC+1,
On Thu, Aug 27, 2020 at 2:46 PM Nick wrote:
> I took a little tour around the code, am I correct in thinking that
> it's mostly a clever translation of the C code to Go, using
> generator.go? What is 'ccgo' that seems to be doing all this?
ccgo is a C compiler producing Go code. It's a work in
Quoth Jan Mercl:
> First stable release for linux/amd64. The database/sql driver and its tests
> are
> CGo free. Tests of the translated sqlite3.c library still require CGo.
This is really cool, congratulations!
I'm now going to ask some really ignorant questions, so sorry for
that!
I took a
On Thu, Aug 27, 2020 at 2:12 AM Mandolyte wrote:
> What is the state of Windows/MacOS?
Planned, not started. Collaborators and maintainers of other platforms
are welcome.
> How about Windows Subsystem for Linux?
WSL does not appear on the goosList:
https://golang.org/src/go/build/syslist.go
A couple of questions:
- What is the state of Windows/MacOS?
- How about Windows Subsystem for Linux?
Thanks!
On Wednesday, August 26, 2020 at 6:17:58 PM UTC-4 kortschak wrote:
> On Wed, 2020-08-26 at 23:50 +0200, Jan Mercl wrote:
> > From the change log (
> >
On Wed, 2020-08-26 at 23:50 +0200, Jan Mercl wrote:
> From the change log (
> https://godoc.org/modernc.org/sqlite#hdr-Changelog)
>
> 2020-08-26 v1.4.0:
>
> First stable release for linux/amd64. The database/sql driver and its
> tests are CGo free. Tests of the translated sqlite3.c library still
>From the change log (https://godoc.org/modernc.org/sqlite#hdr-Changelog)
2020-08-26 v1.4.0:
First stable release for linux/amd64. The database/sql driver and its tests
are CGo free. Tests of the translated sqlite3.c library still require CGo.
$ make full
...
SQLite 2020-08-14 13:23:32
12 matches
Mail list logo