-
Notifications
You must be signed in to change notification settings - Fork 0
CSV #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSV #1
Changes from all commits
12b1526
1f69b2b
56b7107
ee09940
71f2e2c
39fe331
6b6d772
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,24 @@ | ||
| name: Go 1.19 | ||
| name: Build & Test | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "main" ] | ||
| workflow_dispatch: | ||
| pull_request: | ||
| branches: [ "main" ] | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
|
|
||
| build: | ||
| build-and-test: | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| working-directory: ./src | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@v3 | ||
| with: | ||
| go-version: 1.19 | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: actions/setup-go@v5 | ||
| with: | ||
| go-version-file: src/go.mod | ||
|
|
||
| - name: Build | ||
| run: go build -v . | ||
| - name: Build | ||
| working-directory: src | ||
| run: go build ./... | ||
|
|
||
| - name: Test | ||
| run: go test -v . | ||
| - name: Test | ||
| working-directory: src | ||
| run: go test ./... |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,4 +13,4 @@ | |
|
|
||
| .env | ||
| .vscode/ | ||
| .claude/ | ||
| .claude/fmsgid | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| address,display_name,accepting_new,limit_recv_size_total,limit_recv_size_per_msg,limit_recv_size_per_1d,limit_recv_count_per_1d,limit_send_size_total,limit_send_size_per_msg,limit_send_size_per_1d,limit_send_count_per_1d | ||
| @alice@example.com,Alice,true,102400000,10240,102400,1000,102400000,10240,102400,1000 | ||
| @bob@example.com,Bob,true,102400000,10240,102400,1000,102400000,10240,102400,1000 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,14 +11,14 @@ create table if not exists address ( | |
| address text not null, | ||
| display_name text, | ||
| accepting_new bool not null default true, | ||
| limit_recv_size_total bigint not null default -1, | ||
| limit_recv_size_per_msg bigint not null default -1, | ||
| limit_recv_size_per_1d bigint not null default -1, | ||
| limit_recv_count_per_1d bigint not null default -1, | ||
| limit_send_size_total bigint not null default -1, | ||
| limit_send_size_per_msg bigint not null default -1, | ||
| limit_send_size_per_1d bigint not null default -1, | ||
| limit_send_count_per_1d bigint not null default -1 | ||
| limit_recv_size_total bigint not null default 102400000, | ||
| limit_recv_size_per_msg bigint not null default 10240, | ||
| limit_recv_size_per_1d bigint not null default 102400, | ||
| limit_recv_count_per_1d bigint not null default 1000, | ||
| limit_send_size_total bigint not null default 102400000, | ||
| limit_send_size_per_msg bigint not null default 10240, | ||
| limit_send_size_per_1d bigint not null default 102400, | ||
| limit_send_count_per_1d bigint not null default 1000 | ||
|
Comment on lines
13
to
+21
|
||
| ); | ||
|
|
||
| create table if not exists address_tx ( | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The README references an example file named
addresses.csv.example, but the repository addsaddresses.example.csv. Update the README commands/links to match the actual filename (or rename the example file) so new users can follow the instructions successfully.