Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ go get github.com/invopop/couch
idempotently (only rewritten when their views/filters change).
- **`couch/changes`** — consume CouchDB `_changes` feeds with a resumable,
persisted cursor and a worker pool.
- **`couch/at`** — millisecond-precision timestamps used by `couch.Model`.
- **[`invopop/at`](https://github.com/invopop/at)** — millisecond-precision
timestamps used by `couch.Model`. It lived here as `couch/at` until it was
moved out, so anything can use the type without depending on this library.

## Usage

Expand Down
111 changes: 0 additions & 111 deletions at/at.go

This file was deleted.

173 changes: 0 additions & 173 deletions at/at_test.go

This file was deleted.

1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ go 1.25.0

require (
github.com/go-kivik/kivik/v4 v4.5.2
github.com/invopop/at v0.1.0
github.com/jpillora/backoff v1.0.0
github.com/rs/zerolog v1.35.1
github.com/stretchr/testify v1.11.1
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ github.com/gopherjs/gopherjs v1.20.1 h1:22uLWFvVcxhJ+j3dJ99NNfwGyHynxCmjhYsrcwqb
github.com/gopherjs/gopherjs v1.20.1/go.mod h1:h+FTmmLgbXMmmtuZFp9bUqXciN429Wx0sJEJuMnpyfM=
github.com/icza/dyno v0.0.0-20230330125955-09f820a8d9c0 h1:nHoRIX8iXob3Y2kdt9KsjyIb7iApSvb3vgsd93xb5Ow=
github.com/icza/dyno v0.0.0-20230330125955-09f820a8d9c0/go.mod h1:c1tRKs5Tx7E2+uHGSyyncziFjvGpgv4H2HrqXeUQ/Uk=
github.com/invopop/at v0.1.0 h1:9s51NQSc14r85I6rdfXV0Ows8ns2trhnm3ZCmQ9/X4I=
github.com/invopop/at v0.1.0/go.mod h1:0WjKWQGq3R31S5A+Iyt8em4H3SwPPWolnrruETuZxU0=
github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA=
github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
Expand Down
2 changes: 1 addition & 1 deletion model.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"

"github.com/go-kivik/kivik/v4"
"github.com/invopop/couch/at"
"github.com/invopop/at"
)

// Model is a standard representation of a model to be stored in CouchDB
Expand Down
Loading