safing-portbase/database/record/record_test.go
2018-09-06 08:52:24 +02:00

16 lines
185 B
Go

package record
import "sync"
type TestRecord struct {
Base
lock sync.Mutex
}
func (tm *TestRecord) Lock() {
tm.lock.Lock()
}
func (tm *TestRecord) Unlock() {
tm.lock.Unlock()
}