Disable lint on SHMLock struct

Golint wants to rename the struct. I think the name is fine. I
can disable golint. Golint will no longer complain about the
name.

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
This commit is contained in:
Matthew Heon
2018-08-08 16:38:38 -04:00
committed by Matthew Heon
parent a21f21efa1
commit f38fccb48c

View File

@ -16,8 +16,8 @@ var (
)
// SHMLocks is a struct enabling POSIX semaphore locking in a shared memory
// segment
type SHMLocks struct {
// segment.
type SHMLocks struct { // nolint
lockStruct *C.shm_struct_t
valid bool
maxLocks uint32