Update comments

This commit is contained in:
Asim Aslam 2020-04-11 10:48:32 +01:00
parent b887d91f94
commit c697eed1be

View File

@ -1,4 +1,4 @@
// Package sync is a distributed synchronization framework // Package sync is an interface for distributed synchronization
package sync package sync
import ( import (
@ -10,7 +10,7 @@ var (
ErrLockTimeout = errors.New("lock timeout") ErrLockTimeout = errors.New("lock timeout")
) )
// Sync is an interface for synchronization // Sync is an interface for distributed synchronization
type Sync interface { type Sync interface {
// Initialise options // Initialise options
Init(...Option) error Init(...Option) error