Download goalert/engine/processinglock/error.go from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/goalert/engine/processinglock/error.go
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/goalert/engine/processinglock/error.go
-
curl -L -o error.go https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/goalert/engine/processinglock/error.go
245 Bytes
| package processinglock | |
| import ( | |
| "github.com/pkg/errors" | |
| ) | |
| // Static errors | |
| var ( | |
| // ErrNoLock is returned when a lock can not be acquired due to normal causes. | |
| ErrNoLock = errors.New("advisory lock already taken or incompatible version") | |
| ) | |