alexflint / go-filemutex Goto Github PK
View Code? Open in Web Editor NEWLike sync.Mutex, but works across processes
License: MIT License
Like sync.Mutex, but works across processes
License: MIT License
Hi,
We're looking at using this library to provide cross-platform file-locking in a CNI Plugin (see containernetworking/plugins#77).
I see several methods panic on error rather than returning the error to the caller.
Effective Go recommends
real library functions should avoid
panic
Would you be open to a PR that changes the signatures of the functions to return errors?
The library opens a filehandle but does not provide a method to close it. We're using this library in a CNI plugin that attempts to close which we obviously cant implement as anything but a noop util we have a close on this library. See containernetworking/plugins#77
I see the license file is empty. Would you be open to licensing this code under one of the standard OSS licenses? Apache or MIT would be great!
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.