Skip to content

Commit 01a6702

Browse files
committed
Add go.mod note and missing examples
1 parent 0096c48 commit 01a6702

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@ func main() {
3737

3838
```
3939

40+
# go.mod replace
41+
42+
Until https://github.com/mattn/go-sqlite3/pull/1046 is merged you'll
43+
need to add the following to your go.mod:
44+
45+
```go
46+
replace github.com/mattn/go-sqlite3 v1.14.13 => github.com/multiprocessio/go-sqlite3 v1.14.14-0.20220513213203-12637a65d5d7
47+
```
48+
49+
This is low-risk because go-sqlite3 changes infrequently. As soon
50+
as that PR is merged though you won't need to do this.
51+
4052
# Functions
4153

4254
## Strings
@@ -61,9 +73,9 @@ Most of these are implemented as bindings to
6173

6274
| Name(s) | Notes | Example |
6375
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ------------------------------ |
64-
| stddev, stdev, stddev_pop | | |
65-
| mode | | |
66-
| median | | |
76+
| stddev, stdev, stddev_pop | | `stddev(n)` |
77+
| mode | | `mode(n)` |
78+
| median | | `median(n)` |
6779
| percentile, perc | Discrete | `perc(response_time, 95)` |
6880
| percentile_25, perc_25, percentile_50, perc_50, percentile_75, perc_75, percentile_90, perc_90, percentile_95, perc_95, percentile_99, perc_99 | Discrete | `perc_99(response_time)` |
6981
| percentile_cont, perc_cont | Continuous | `perc_cont(response_time, 95)` |

0 commit comments

Comments
 (0)