Skip to content

Commit 5f805d4

Browse files
glommerclaude
andcommitted
Deprecate Connector.Sync() with godoc annotation
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 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 43644db commit 5f805d4

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)