Documentation ¶ Index ¶ type Guard func NewGuard() *Guard func (g *Guard) AddMutexForPkg(pkg *packages.Package) func (g *Guard) Mutex() *sync.Mutex func (g *Guard) MutexForExportData() *sync.Mutex func (g *Guard) MutexForPkg(pkg *packages.Package) *sync.Mutex Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Guard ¶ type Guard struct { // contains filtered or unexported fields } func NewGuard ¶ func NewGuard() *Guard func (*Guard) AddMutexForPkg ¶ func (g *Guard) AddMutexForPkg(pkg *packages.Package) func (*Guard) Mutex ¶ func (g *Guard) Mutex() *sync.Mutex func (*Guard) MutexForExportData ¶ func (g *Guard) MutexForExportData() *sync.Mutex func (*Guard) MutexForPkg ¶ func (g *Guard) MutexForPkg(pkg *packages.Package) *sync.Mutex Source Files ¶ View all Source files guard.go Click to show internal directories. Click to hide internal directories.