Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

flock_iface.go 306B

1234567891011121314
  1. package flock
  2. // documentation for github.com/gofrs/flock incorrectly claims that
  3. // Flock implements sync.Locker; it does not because the Unlock method
  4. // has a return type (err).
  5. type Flocker interface {
  6. Unlock() error
  7. }
  8. type noopFlocker struct{}
  9. func (n *noopFlocker) Unlock() error {
  10. return nil
  11. }