safing-portbase/database/record/record_test.go
2018-09-05 17:19:45 +02:00

16 lines
184 B
Go

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