MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / encodeBrowserFeatureCountCursor

Function encodeBrowserFeatureCountCursor

lib/gcpspanner/client.go:339–344  ·  view source on GitHub ↗

encodeBrowserFeatureCountCursor provides a wrapper around the generic encodeCursor.

(releaseDate time.Time, lastCount int64)

Source from the content-addressed store, hash-verified

337
338// encodeBrowserFeatureCountCursor provides a wrapper around the generic encodeCursor.
339func encodeBrowserFeatureCountCursor(releaseDate time.Time, lastCount int64) string {
340 return encodeCursor[BrowserFeatureCountCursor](BrowserFeatureCountCursor{
341 LastReleaseDate: releaseDate,
342 LastCumulativeCount: lastCount,
343 })
344}
345
346// encodeWPTRunCursor provides a wrapper around the generic encodeCursor.
347func encodeWPTRunCursor(timeStart time.Time, id int64) string {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected