Skip to content

Commit 84c7186

Browse files
committed
WIP
1 parent b8a188a commit 84c7186

4 files changed

Lines changed: 97 additions & 69 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set Up Go
1818
uses: actions/setup-go@v5
1919
with:
20-
go-version: '1.23.1'
20+
go-version: '1.24.2'
2121

2222
- name: Install Dependencies
2323
run: go get .

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG PLATFORM
22
ARG GOOS
33
ARG GOARCH
44

5-
FROM --platform=$PLATFORM golang:1.23 AS builder
5+
FROM --platform=$PLATFORM golang:1.24 AS builder
66

77
WORKDIR /app
88

devbox.lock

Lines changed: 93 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -2,262 +2,290 @@
22
"lockfile_version": "1",
33
"packages": {
44
"gcc@latest": {
5-
"last_modified": "2025-02-07T11:26:36Z",
6-
"resolved": "github:NixOS/nixpkgs/d98abf5cf5914e5e4e9d57205e3af55ca90ffc1d#gcc",
5+
"last_modified": "2025-03-11T17:52:14Z",
6+
"resolved": "github:NixOS/nixpkgs/0d534853a55b5d02a4ababa1d71921ce8f0aee4c#gcc",
77
"source": "devbox-search",
88
"version": "14-20241116",
99
"systems": {
1010
"aarch64-darwin": {
1111
"outputs": [
1212
{
1313
"name": "out",
14-
"path": "/nix/store/3k1dfk03xkmaf6cksgpk492k3m8brvmp-gcc-wrapper-14-20241116",
14+
"path": "/nix/store/b3nkhhvaccg2bg3cz7msq9nhd5hz0a1m-gcc-wrapper-14-20241116",
1515
"default": true
1616
},
1717
{
1818
"name": "man",
19-
"path": "/nix/store/cf67mihrjf3a1w4sw8jkgw49kfi54wpq-gcc-wrapper-14-20241116-man",
19+
"path": "/nix/store/db5gfkj2dwzhhzmaxiy7xlmdlm1ggxf5-gcc-wrapper-14-20241116-man",
2020
"default": true
2121
},
2222
{
2323
"name": "info",
24-
"path": "/nix/store/jgsywypzhdim8s6x25cnr31ygm28lhin-gcc-wrapper-14-20241116-info"
24+
"path": "/nix/store/l0dy1h1kp4plq77mkv5sgqlj27w4mf1d-gcc-wrapper-14-20241116-info"
2525
}
2626
],
27-
"store_path": "/nix/store/3k1dfk03xkmaf6cksgpk492k3m8brvmp-gcc-wrapper-14-20241116"
27+
"store_path": "/nix/store/b3nkhhvaccg2bg3cz7msq9nhd5hz0a1m-gcc-wrapper-14-20241116"
2828
},
2929
"aarch64-linux": {
3030
"outputs": [
3131
{
3232
"name": "out",
33-
"path": "/nix/store/pavcqvq7ycdbpal1mfjsscvgngzsg9sp-gcc-wrapper-14-20241116",
33+
"path": "/nix/store/ir7ny43iqgll895w0g7gqrl451apdny9-gcc-wrapper-14-20241116",
3434
"default": true
3535
},
3636
{
3737
"name": "man",
38-
"path": "/nix/store/srwbca27wpylwzaqz9ssbhlkx910ryv1-gcc-wrapper-14-20241116-man",
38+
"path": "/nix/store/xjkxrh8ysb9nynsl9l1i4w3fg38i4wik-gcc-wrapper-14-20241116-man",
3939
"default": true
4040
},
4141
{
4242
"name": "info",
43-
"path": "/nix/store/yrdz1bra65cc9i2n2ghsz98g4fx2jra3-gcc-wrapper-14-20241116-info"
43+
"path": "/nix/store/4vxhw7a05bv1p2szw82jhkd9k95f0g4x-gcc-wrapper-14-20241116-info"
4444
}
4545
],
46-
"store_path": "/nix/store/pavcqvq7ycdbpal1mfjsscvgngzsg9sp-gcc-wrapper-14-20241116"
46+
"store_path": "/nix/store/ir7ny43iqgll895w0g7gqrl451apdny9-gcc-wrapper-14-20241116"
4747
},
4848
"x86_64-darwin": {
4949
"outputs": [
5050
{
5151
"name": "out",
52-
"path": "/nix/store/g2462k2svl4zn5q7yypqirp6xxq0s9aq-gcc-wrapper-14-20241116",
52+
"path": "/nix/store/gap05kipvxfasxdaj4xmx8xyrcqq2jzq-gcc-wrapper-14-20241116",
5353
"default": true
5454
},
5555
{
5656
"name": "man",
57-
"path": "/nix/store/s0vndfpg8gsz40wmf3v11csk3n497kqm-gcc-wrapper-14-20241116-man",
57+
"path": "/nix/store/7kgks0i9lpaxyzvylckjk5myrr2la789-gcc-wrapper-14-20241116-man",
5858
"default": true
5959
},
6060
{
6161
"name": "info",
62-
"path": "/nix/store/3x75ibh7rj95vm09q38iqj8l5jwbrarl-gcc-wrapper-14-20241116-info"
62+
"path": "/nix/store/zckp7ggmar77ckyx85s9m0qfq6bc8ki9-gcc-wrapper-14-20241116-info"
6363
}
6464
],
65-
"store_path": "/nix/store/g2462k2svl4zn5q7yypqirp6xxq0s9aq-gcc-wrapper-14-20241116"
65+
"store_path": "/nix/store/gap05kipvxfasxdaj4xmx8xyrcqq2jzq-gcc-wrapper-14-20241116"
6666
},
6767
"x86_64-linux": {
6868
"outputs": [
6969
{
7070
"name": "out",
71-
"path": "/nix/store/4ijy8jbsiqmj37avrk83gn2m903486mr-gcc-wrapper-14-20241116",
71+
"path": "/nix/store/gj9lra51hwhxnhz05jqk5lh03wipamv0-gcc-wrapper-14-20241116",
7272
"default": true
7373
},
7474
{
7575
"name": "man",
76-
"path": "/nix/store/vyax7fpbw688qwx32c1i8n1f5jbjkcii-gcc-wrapper-14-20241116-man",
76+
"path": "/nix/store/mh3g8vwnydf4i9wyar80j0lqczqbpq95-gcc-wrapper-14-20241116-man",
7777
"default": true
7878
},
7979
{
8080
"name": "info",
81-
"path": "/nix/store/m4641rrm7dw80bn23ab0812pm6aj6402-gcc-wrapper-14-20241116-info"
81+
"path": "/nix/store/hcifip97ydvf4nmga57fxfl9ra9pdwl6-gcc-wrapper-14-20241116-info"
8282
}
8383
],
84-
"store_path": "/nix/store/4ijy8jbsiqmj37avrk83gn2m903486mr-gcc-wrapper-14-20241116"
84+
"store_path": "/nix/store/gj9lra51hwhxnhz05jqk5lh03wipamv0-gcc-wrapper-14-20241116"
8585
}
8686
}
8787
},
8888
"github:NixOS/nixpkgs/nixpkgs-unstable": {
89-
"resolved": "github:NixOS/nixpkgs/d9b69c3ec2a2e2e971c534065bdd53374bd68b97?lastModified=1740396192&narHash=sha256-ATMHHrg3sG1KgpQA5x8I%2BzcYpp5Sf17FaFj%2FfN%2B8OoQ%3D"
89+
"resolved": "github:NixOS/nixpkgs/b0b4b5f8f621bfe213b8b21694bab52ecfcbf30b?lastModified=1744032190&narHash=sha256-KSlfrncSkcu1YE%2BuuJ%2FPTURsSlThoGkRqiGDVdbiE%2Fk%3D"
90+
},
91+
"glibcLocales@latest": {
92+
"last_modified": "2025-03-11T17:52:14Z",
93+
"resolved": "github:NixOS/nixpkgs/0d534853a55b5d02a4ababa1d71921ce8f0aee4c#glibcLocales",
94+
"source": "devbox-search",
95+
"version": "2.40-66",
96+
"systems": {
97+
"aarch64-linux": {
98+
"outputs": [
99+
{
100+
"name": "out",
101+
"path": "/nix/store/mrkflhzymcwx0y8wyk7ldf1h4d5mq5yy-glibc-locales-2.40-66",
102+
"default": true
103+
}
104+
],
105+
"store_path": "/nix/store/mrkflhzymcwx0y8wyk7ldf1h4d5mq5yy-glibc-locales-2.40-66"
106+
},
107+
"x86_64-linux": {
108+
"outputs": [
109+
{
110+
"name": "out",
111+
"path": "/nix/store/hgybbbzg778wasmw5g1hzm7a8n4wwd5h-glibc-locales-2.40-66",
112+
"default": true
113+
}
114+
],
115+
"store_path": "/nix/store/hgybbbzg778wasmw5g1hzm7a8n4wwd5h-glibc-locales-2.40-66"
116+
}
117+
}
90118
},
91119
"go@latest": {
92-
"last_modified": "2024-09-10T15:01:03Z",
93-
"resolved": "github:NixOS/nixpkgs/5ed627539ac84809c78b2dd6d26a5cebeb5ae269#go_1_23",
120+
"last_modified": "2025-03-11T17:52:14Z",
121+
"resolved": "github:NixOS/nixpkgs/0d534853a55b5d02a4ababa1d71921ce8f0aee4c#go",
94122
"source": "devbox-search",
95-
"version": "1.23.1",
123+
"version": "1.24.1",
96124
"systems": {
97125
"aarch64-darwin": {
98126
"outputs": [
99127
{
100128
"name": "out",
101-
"path": "/nix/store/nvaay1c4banbccyvv6ba1gzyqpypjmfq-go-1.23.1",
129+
"path": "/nix/store/ja4jxx60lh1qfqfl4z4p2rff56ia1c3c-go-1.24.1",
102130
"default": true
103131
}
104132
],
105-
"store_path": "/nix/store/nvaay1c4banbccyvv6ba1gzyqpypjmfq-go-1.23.1"
133+
"store_path": "/nix/store/ja4jxx60lh1qfqfl4z4p2rff56ia1c3c-go-1.24.1"
106134
},
107135
"aarch64-linux": {
108136
"outputs": [
109137
{
110138
"name": "out",
111-
"path": "/nix/store/9ylsay11jb3p6yarkmlz0fin76cdypwa-go-1.23.1",
139+
"path": "/nix/store/8ply43gnxk1xwichr81mpgbjcd9a1y5w-go-1.24.1",
112140
"default": true
113141
}
114142
],
115-
"store_path": "/nix/store/9ylsay11jb3p6yarkmlz0fin76cdypwa-go-1.23.1"
143+
"store_path": "/nix/store/8ply43gnxk1xwichr81mpgbjcd9a1y5w-go-1.24.1"
116144
},
117145
"x86_64-darwin": {
118146
"outputs": [
119147
{
120148
"name": "out",
121-
"path": "/nix/store/zkg5xhyx2rs03dq0qp14nqlx9ff1y5c5-go-1.23.1",
149+
"path": "/nix/store/87yxrfx5lh78bdz393i33cr5z23x06q4-go-1.24.1",
122150
"default": true
123151
}
124152
],
125-
"store_path": "/nix/store/zkg5xhyx2rs03dq0qp14nqlx9ff1y5c5-go-1.23.1"
153+
"store_path": "/nix/store/87yxrfx5lh78bdz393i33cr5z23x06q4-go-1.24.1"
126154
},
127155
"x86_64-linux": {
128156
"outputs": [
129157
{
130158
"name": "out",
131-
"path": "/nix/store/mi0ybwsm6pmxzv9hsm6bcbqaq1pkf8wh-go-1.23.1",
159+
"path": "/nix/store/cfjhl0kn7xc65466pha9fkrvigw3g72n-go-1.24.1",
132160
"default": true
133161
}
134162
],
135-
"store_path": "/nix/store/mi0ybwsm6pmxzv9hsm6bcbqaq1pkf8wh-go-1.23.1"
163+
"store_path": "/nix/store/cfjhl0kn7xc65466pha9fkrvigw3g72n-go-1.24.1"
136164
}
137165
}
138166
},
139167
"postgresql@latest": {
140-
"last_modified": "2024-10-24T16:50:28Z",
168+
"last_modified": "2025-03-25T17:32:05Z",
141169
"plugin_version": "0.0.2",
142-
"resolved": "github:NixOS/nixpkgs/63487b2f26fa065cfeeaa47dddb08e2856ba53e8#postgresql",
170+
"resolved": "github:NixOS/nixpkgs/25d1b84f5c90632a623c48d83a2faf156451e6b1#postgresql",
143171
"source": "devbox-search",
144-
"version": "16.4",
172+
"version": "17.4",
145173
"systems": {
146174
"aarch64-darwin": {
147175
"outputs": [
148176
{
149177
"name": "out",
150-
"path": "/nix/store/6dzxj78wph840cpwslh96s4gpm0iwch2-postgresql-16.4",
178+
"path": "/nix/store/prh52g9iwjdddxbv4n0b52gbnlxnnk6w-postgresql-17.4",
151179
"default": true
152180
},
153181
{
154182
"name": "man",
155-
"path": "/nix/store/z1n2vh799a5icpaxbrjfqsasagb276bk-postgresql-16.4-man",
183+
"path": "/nix/store/il144892arv36x68b5y95bkvrq32ym91-postgresql-17.4-man",
156184
"default": true
157185
},
158186
{
159187
"name": "dev",
160-
"path": "/nix/store/afjpl8ilq8s6j6zh4qqyy6mxz3v2xbav-postgresql-16.4-dev"
188+
"path": "/nix/store/7gf8hy13r7li2balcini7004aml54l5n-postgresql-17.4-dev"
161189
},
162190
{
163191
"name": "doc",
164-
"path": "/nix/store/ry9d9by692xj92y5b9j6z0aa5y3lh3px-postgresql-16.4-doc"
192+
"path": "/nix/store/6x00505hxzfwjfpk15v6p4qqnbpk5dza-postgresql-17.4-doc"
165193
},
166194
{
167195
"name": "lib",
168-
"path": "/nix/store/d1im42w02x8gl2y380r4hgj8xgkkkbwc-postgresql-16.4-lib"
196+
"path": "/nix/store/c9g6v34cjsf308m9xzcs7figc1vgbbw3-postgresql-17.4-lib"
169197
}
170198
],
171-
"store_path": "/nix/store/6dzxj78wph840cpwslh96s4gpm0iwch2-postgresql-16.4"
199+
"store_path": "/nix/store/prh52g9iwjdddxbv4n0b52gbnlxnnk6w-postgresql-17.4"
172200
},
173201
"aarch64-linux": {
174202
"outputs": [
175203
{
176204
"name": "out",
177-
"path": "/nix/store/37r0vmsb8xd1kv3wjd99kr59q99ja3g0-postgresql-16.4",
205+
"path": "/nix/store/1lgjdy1nm8l68y2jw6m1lhas4j5jcmk1-postgresql-17.4",
178206
"default": true
179207
},
180208
{
181209
"name": "man",
182-
"path": "/nix/store/mawnv85hv5y64csbmpgrnz88j7r8cby5-postgresql-16.4-man",
210+
"path": "/nix/store/1v352rrzfv5p105jfaizxhd29nk41hgp-postgresql-17.4-man",
183211
"default": true
184212
},
185213
{
186214
"name": "debug",
187-
"path": "/nix/store/71hz4hv1n6ivymbzd0jm3a61cyj9fwh5-postgresql-16.4-debug"
215+
"path": "/nix/store/5bywayb6ywgznzh9cck9wpya1bzg4v0a-postgresql-17.4-debug"
188216
},
189217
{
190218
"name": "dev",
191-
"path": "/nix/store/ibhwvhq4gkdibkfrkqg9vmip9mhhrg2q-postgresql-16.4-dev"
219+
"path": "/nix/store/zs35b02p7cay6jp7zr1xihwx8vzab17c-postgresql-17.4-dev"
192220
},
193221
{
194222
"name": "doc",
195-
"path": "/nix/store/rmvkab0pxjjjznk350syr3gzpa13dz1k-postgresql-16.4-doc"
223+
"path": "/nix/store/1qccl3dm5wcja6h2kjkhvs5r9l1bx4hz-postgresql-17.4-doc"
196224
},
197225
{
198226
"name": "lib",
199-
"path": "/nix/store/39mnmp40qhpq2h6r3cj66s23sb5fkzr6-postgresql-16.4-lib"
227+
"path": "/nix/store/kyh4l6wsjgwghvjw9810p7nn1ap106mj-postgresql-17.4-lib"
200228
}
201229
],
202-
"store_path": "/nix/store/37r0vmsb8xd1kv3wjd99kr59q99ja3g0-postgresql-16.4"
230+
"store_path": "/nix/store/1lgjdy1nm8l68y2jw6m1lhas4j5jcmk1-postgresql-17.4"
203231
},
204232
"x86_64-darwin": {
205233
"outputs": [
206234
{
207235
"name": "out",
208-
"path": "/nix/store/vlgydd1rakmw9j14i8dgrlhzj4pa82vi-postgresql-16.4",
236+
"path": "/nix/store/0mzgv54qxafr66f4d7prz42fhs833mhk-postgresql-17.4",
209237
"default": true
210238
},
211239
{
212240
"name": "man",
213-
"path": "/nix/store/2wm2caki07a557z97228n2zxrd3a8j4b-postgresql-16.4-man",
241+
"path": "/nix/store/akb98lb29c1x3mflzcwqy4a0gqfk331r-postgresql-17.4-man",
214242
"default": true
215243
},
216244
{
217-
"name": "doc",
218-
"path": "/nix/store/r03r96a44grl85sflw6hvwwlrzr32rk9-postgresql-16.4-doc"
245+
"name": "dev",
246+
"path": "/nix/store/gpkbg9yhx7jji2hr3jp89q06hi6v7qrk-postgresql-17.4-dev"
219247
},
220248
{
221-
"name": "lib",
222-
"path": "/nix/store/cy3q9y20jwk1vkd6jxf3mnq6xzbb9dn8-postgresql-16.4-lib"
249+
"name": "doc",
250+
"path": "/nix/store/9hxw6pf1qnlz1ygx5ximyvc48swb54n0-postgresql-17.4-doc"
223251
},
224252
{
225-
"name": "dev",
226-
"path": "/nix/store/96nxx00m06jl2jmvb16916l2rpwb13hk-postgresql-16.4-dev"
253+
"name": "lib",
254+
"path": "/nix/store/kyml5v1q498ympq67jvcnhgmsn8384zk-postgresql-17.4-lib"
227255
}
228256
],
229-
"store_path": "/nix/store/vlgydd1rakmw9j14i8dgrlhzj4pa82vi-postgresql-16.4"
257+
"store_path": "/nix/store/0mzgv54qxafr66f4d7prz42fhs833mhk-postgresql-17.4"
230258
},
231259
"x86_64-linux": {
232260
"outputs": [
233261
{
234262
"name": "out",
235-
"path": "/nix/store/mjjfx6yyaaba5hmv6bga20m8fxrca93l-postgresql-16.4",
263+
"path": "/nix/store/snfxmriwav4i0k1fxp78xk5w12hbv4q9-postgresql-17.4",
236264
"default": true
237265
},
238266
{
239267
"name": "man",
240-
"path": "/nix/store/b8cvsw47h2487y4j805zi0645x3ajh1i-postgresql-16.4-man",
268+
"path": "/nix/store/pcx190vq4awjcgpmj2flrbp9awhdc74q-postgresql-17.4-man",
241269
"default": true
242270
},
243-
{
244-
"name": "doc",
245-
"path": "/nix/store/apbxfs52v8im9725mn2f1jhgbdfggrpd-postgresql-16.4-doc"
246-
},
247271
{
248272
"name": "lib",
249-
"path": "/nix/store/32cprs7xwxvb0rw2imfrgy5vcacc27hc-postgresql-16.4-lib"
273+
"path": "/nix/store/yja4rgfrwyxckwqf10rbr4armbn0p2y5-postgresql-17.4-lib"
250274
},
251275
{
252276
"name": "debug",
253-
"path": "/nix/store/alcnsd7fkkr3iipvcn9gzsyv16kab6m9-postgresql-16.4-debug"
277+
"path": "/nix/store/zrlrz84kzfvnxcx5mis53scr205p29hx-postgresql-17.4-debug"
254278
},
255279
{
256280
"name": "dev",
257-
"path": "/nix/store/pqya8lq5jyplfmbmafrrwsrsi07d5ssn-postgresql-16.4-dev"
281+
"path": "/nix/store/piqzr58swwmbsngl3jp98xgrf17a960n-postgresql-17.4-dev"
282+
},
283+
{
284+
"name": "doc",
285+
"path": "/nix/store/ilc5sycwvqjjfa33978nb1p14x358l1c-postgresql-17.4-doc"
258286
}
259287
],
260-
"store_path": "/nix/store/mjjfx6yyaaba5hmv6bga20m8fxrca93l-postgresql-16.4"
288+
"store_path": "/nix/store/snfxmriwav4i0k1fxp78xk5w12hbv4q9-postgresql-17.4"
261289
}
262290
}
263291
}

src/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/BemiHQ/BemiDB
22

3-
go 1.23.1
3+
go 1.24.2
44

55
require (
66
github.com/aws/aws-sdk-go-v2 v1.32.3
@@ -19,6 +19,7 @@ require (
1919
require (
2020
github.com/xitongsys/parquet-go-source v0.0.0-20241021075129-b732d2ac9c9b
2121
golang.org/x/crypto v0.31.0
22+
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0
2223
)
2324

2425
require (
@@ -54,7 +55,6 @@ require (
5455
github.com/mitchellh/mapstructure v1.5.0 // indirect
5556
github.com/pierrec/lz4/v4 v4.1.21 // indirect
5657
github.com/zeebo/xxh3 v1.0.2 // indirect
57-
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
5858
golang.org/x/mod v0.21.0 // indirect
5959
golang.org/x/sync v0.10.0 // indirect
6060
golang.org/x/sys v0.28.0 // indirect

0 commit comments

Comments
 (0)