Skip to content

Commit 3051e37

Browse files
authored
Deprecate Connector.Sync() with godoc annotation (#89)
Add the // Deprecated: godoc comment so linters and IDEs flag usage. Users are directed to the `tursogo` package as a replacement. Learn more: https://tur.so/newsync
2 parents 43644db + 5f805d4 commit 3051e37

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libsql.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ type Connector struct {
293293
closeAckCh <-chan struct{}
294294
}
295295

296+
// Deprecated: Sync is deprecated and will be removed in a future release. Use the `tursogo` package instead. Learn more: https://tur.so/newsync
296297
func (c *Connector) Sync() (Replicated, error) {
297298
return libsqlSync(c.nativeDbPtr)
298299
}

0 commit comments

Comments
 (0)