aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-20 20:30:37 -0300
committerEuAndreh <eu@euandre.org>2024-10-20 20:33:48 -0300
commitdcd536348e52686758ec76f68dc0157804f763f9 (patch)
tree0335e1a7a1d95b9c0386319504b567809237c24a
parentShoehorn project into default golang skeleton structure (diff)
downloadgolite-dcd536348e52686758ec76f68dc0157804f763f9.tar.gz
golite-dcd536348e52686758ec76f68dc0157804f763f9.tar.xz
Revert c3a3cf9d7aed9b3c48acbe31fd48f2c27549a570
-rw-r--r--Makefile2
-rw-r--r--README.md4
-rw-r--r--deps.mk38
-rw-r--r--src/golite.go (renamed from src/acudego.go)2
-rw-r--r--tests/benchmarks/exec/golite.go (renamed from tests/benchmarks/exec/acudego.go)2
-rw-r--r--tests/benchmarks/query/golite.go (renamed from tests/benchmarks/query/acudego.go)2
-rw-r--r--tests/functional/json/golite.go (renamed from tests/functional/json/acudego.go)2
-rw-r--r--tests/functional/limit/golite.go (renamed from tests/functional/limit/acudego.go)2
-rw-r--r--tests/fuzz/api/golite.go (renamed from tests/fuzz/api/acudego.go)2
-rw-r--r--tests/golite.go (renamed from tests/acudego.go)2
-rw-r--r--tests/main.go4
11 files changed, 31 insertions, 31 deletions
diff --git a/Makefile b/Makefile
index 4267fa3..ab3dbe0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
.POSIX:
DATE = 1970-01-01
VERSION = 0.1.0
-NAME = acudego
+NAME = golite
NAME_UC = $(NAME)
LANGUAGES = en
## Installation prefix. Defaults to "/usr".
diff --git a/README.md b/README.md
index 7f63746..5209ee7 100644
--- a/README.md
+++ b/README.md
@@ -506,7 +506,7 @@ For an example, see [dinedal/go-sqlite3-extension-functions](https://github.com/
- Why I'm getting `no such table` error?
- Why is it racy if I use a `sql.Open("acude", ":memory:")` database?
+ Why is it racy if I use a `sql.Open("golite", ":memory:")` database?
Each connection to `":memory:"` opens a brand new in-memory sql database, so if
the stdlib's sql engine happens to open another connection and you've only
@@ -545,7 +545,7 @@ For an example, see [dinedal/go-sqlite3-extension-functions](https://github.com/
Example:
```go
- db, err := sql.Open("acude", "file:locked.sqlite?cache=shared")
+ db, err := sql.Open("golite", "file:locked.sqlite?cache=shared")
```
Next, please set the database connections of the SQL package to 1:
diff --git a/deps.mk b/deps.mk
index 5be3ee3..4b2c048 100644
--- a/deps.mk
+++ b/deps.mk
@@ -1,11 +1,11 @@
libs.go = \
- src/acudego.go \
- tests/acudego.go \
- tests/benchmarks/exec/acudego.go \
- tests/benchmarks/query/acudego.go \
- tests/functional/json/acudego.go \
- tests/functional/limit/acudego.go \
- tests/fuzz/api/acudego.go \
+ src/golite.go \
+ tests/benchmarks/exec/golite.go \
+ tests/benchmarks/query/golite.go \
+ tests/functional/json/golite.go \
+ tests/functional/limit/golite.go \
+ tests/fuzz/api/golite.go \
+ tests/golite.go \
mains.go = \
tests/benchmarks/exec/main.go \
@@ -16,39 +16,39 @@ mains.go = \
tests/main.go \
functional-tests/lib.go = \
- tests/functional/json/acudego.go \
- tests/functional/limit/acudego.go \
+ tests/functional/json/golite.go \
+ tests/functional/limit/golite.go \
functional-tests/main.go = \
tests/functional/json/main.go \
tests/functional/limit/main.go \
fuzz-targets/lib.go = \
- tests/fuzz/api/acudego.go \
+ tests/fuzz/api/golite.go \
fuzz-targets/main.go = \
tests/fuzz/api/main.go \
benchmarks/lib.go = \
- tests/benchmarks/exec/acudego.go \
- tests/benchmarks/query/acudego.go \
+ tests/benchmarks/exec/golite.go \
+ tests/benchmarks/query/golite.go \
benchmarks/main.go = \
tests/benchmarks/exec/main.go \
tests/benchmarks/query/main.go \
-src/acudego.a: src/acudego.go
-tests/acudego.a: tests/acudego.go
-tests/benchmarks/exec/acudego.a: tests/benchmarks/exec/acudego.go
+src/golite.a: src/golite.go
+tests/benchmarks/exec/golite.a: tests/benchmarks/exec/golite.go
tests/benchmarks/exec/main.a: tests/benchmarks/exec/main.go
-tests/benchmarks/query/acudego.a: tests/benchmarks/query/acudego.go
+tests/benchmarks/query/golite.a: tests/benchmarks/query/golite.go
tests/benchmarks/query/main.a: tests/benchmarks/query/main.go
-tests/functional/json/acudego.a: tests/functional/json/acudego.go
+tests/functional/json/golite.a: tests/functional/json/golite.go
tests/functional/json/main.a: tests/functional/json/main.go
-tests/functional/limit/acudego.a: tests/functional/limit/acudego.go
+tests/functional/limit/golite.a: tests/functional/limit/golite.go
tests/functional/limit/main.a: tests/functional/limit/main.go
-tests/fuzz/api/acudego.a: tests/fuzz/api/acudego.go
+tests/fuzz/api/golite.a: tests/fuzz/api/golite.go
tests/fuzz/api/main.a: tests/fuzz/api/main.go
+tests/golite.a: tests/golite.go
tests/main.a: tests/main.go
tests/benchmarks/exec/main.bin: tests/benchmarks/exec/main.a
tests/benchmarks/query/main.bin: tests/benchmarks/query/main.a
diff --git a/src/acudego.go b/src/golite.go
index c9acbcd..ab3e596 100644
--- a/src/acudego.go
+++ b/src/golite.go
@@ -1,4 +1,4 @@
-package acudego
+package golite
import (
"context"
diff --git a/tests/benchmarks/exec/acudego.go b/tests/benchmarks/exec/golite.go
index 79e7992..f861c3c 100644
--- a/tests/benchmarks/exec/acudego.go
+++ b/tests/benchmarks/exec/golite.go
@@ -1,4 +1,4 @@
-package acudego
+package golite
import (
"database/sql"
diff --git a/tests/benchmarks/query/acudego.go b/tests/benchmarks/query/golite.go
index 3386576..a900356 100644
--- a/tests/benchmarks/query/acudego.go
+++ b/tests/benchmarks/query/golite.go
@@ -1,4 +1,4 @@
-package acudego
+package golite
import (
"database/sql"
diff --git a/tests/functional/json/acudego.go b/tests/functional/json/golite.go
index 8f5e923..0fa696e 100644
--- a/tests/functional/json/acudego.go
+++ b/tests/functional/json/golite.go
@@ -1,4 +1,4 @@
-package acudego
+package golite
import (
"database/sql"
diff --git a/tests/functional/limit/acudego.go b/tests/functional/limit/golite.go
index d47dc27..231e8c2 100644
--- a/tests/functional/limit/acudego.go
+++ b/tests/functional/limit/golite.go
@@ -1,4 +1,4 @@
-package acudego
+package golite
import (
"database/sql"
diff --git a/tests/fuzz/api/acudego.go b/tests/fuzz/api/golite.go
index 7f8e3a0..1c86d04 100644
--- a/tests/fuzz/api/acudego.go
+++ b/tests/fuzz/api/golite.go
@@ -1,4 +1,4 @@
-package acudego
+package golite
import (
"os"
diff --git a/tests/acudego.go b/tests/golite.go
index de41ca9..2459993 100644
--- a/tests/acudego.go
+++ b/tests/golite.go
@@ -1,4 +1,4 @@
-package acudego
+package golite
import (
"bytes"
diff --git a/tests/main.go b/tests/main.go
index 7e0b774..f8a5b6f 100644
--- a/tests/main.go
+++ b/tests/main.go
@@ -1,7 +1,7 @@
package main
-import "acudego"
+import "golite"
func main() {
- acudego.MainTest()
+ golite.MainTest()
}