Commit 0f7c80b
Add new APIs, fix bugs, improve security, and add CI/CD (#7)
* Add new APIs, fix bugs, improve security, and add CI/CD
- Add new functions: GetByKey, DeleteByKey, DeleteMultiByKey, InsertWithAutoKey,
InsertMultiWithAutoKey, RunInTransaction, WithProject, Close, SetLogger
- Add OpNotEqual filter operator
- Fix Connect() returning partially initialized DB on error
- Fix WithCursor() silently swallowing decode errors
- Fix WithFilter() silently ignoring invalid FieldKey values
- Fix Count() doc referencing non-existent From/Where API
- Fix KeysOnly() doc referencing non-existent SelectKeys method
- Fix data race on package-level logger with sync.RWMutex
- Fix README install URL (yourusername -> louvri)
- Rename ID-based APIs to Key-based for Datastore consistency
- Add configurable Logger interface for structured logging
- Add GitHub Actions: PR lint/build check and auto-release on merge
- Add golangci-lint v2 configuration
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Fix golangci-lint v2 config: move linters-settings under linters.settings, remove deprecated exclude-use-default
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Add GitHub sponsor/funding configuration
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Phillip Leonardo <phillip.leonardo@idexpress.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ba57b34 commit 0f7c80b
File tree
6 files changed
+448
-77
lines changed- .github
- workflows
6 files changed
+448
-77
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | | - | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
28 | 31 | | |
29 | 32 | | |
30 | 33 | | |
31 | | - | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| |||
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| 52 | + | |
49 | 53 | | |
50 | 54 | | |
51 | 55 | | |
| |||
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
| |||
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
| 132 | + | |
125 | 133 | | |
126 | 134 | | |
127 | 135 | | |
| |||
156 | 164 | | |
157 | 165 | | |
158 | 166 | | |
159 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
160 | 177 | | |
161 | 178 | | |
162 | 179 | | |
| |||
263 | 280 | | |
264 | 281 | | |
265 | 282 | | |
266 | | - | |
| 283 | + | |
267 | 284 | | |
268 | | - | |
| 285 | + | |
269 | 286 | | |
270 | 287 | | |
271 | 288 | | |
| |||
274 | 291 | | |
275 | 292 | | |
276 | 293 | | |
277 | | - | |
| 294 | + | |
278 | 295 | | |
279 | 296 | | |
280 | 297 | | |
281 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
282 | 310 | | |
283 | 311 | | |
284 | 312 | | |
285 | 313 | | |
286 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
287 | 321 | | |
288 | 322 | | |
289 | 323 | | |
290 | 324 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | 325 | | |
297 | 326 | | |
298 | 327 | | |
| |||
309 | 338 | | |
310 | 339 | | |
311 | 340 | | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
312 | 373 | | |
313 | 374 | | |
314 | 375 | | |
| |||
386 | 447 | | |
387 | 448 | | |
388 | 449 | | |
389 | | - | |
| 450 | + | |
390 | 451 | | |
391 | 452 | | |
392 | 453 | | |
393 | 454 | | |
394 | 455 | | |
395 | 456 | | |
396 | | - | |
| 457 | + | |
397 | 458 | | |
398 | | - | |
| 459 | + | |
399 | 460 | | |
400 | 461 | | |
401 | 462 | | |
| |||
423 | 484 | | |
424 | 485 | | |
425 | 486 | | |
426 | | - | |
427 | | - | |
| 487 | + | |
| 488 | + | |
428 | 489 | | |
429 | 490 | | |
430 | 491 | | |
| |||
441 | 502 | | |
442 | 503 | | |
443 | 504 | | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
444 | 524 | | |
445 | 525 | | |
446 | 526 | | |
| |||
450 | 530 | | |
451 | 531 | | |
452 | 532 | | |
453 | | - | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
454 | 540 | | |
455 | 541 | | |
456 | 542 | | |
| |||
0 commit comments