Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mut

GitHub commits GitHub last commit

The mut package provides a generic, thread-safe mutable container for any type. It encapsulates a pointer to a value of type T along with a mutex to safely allow concurrent mutations.

Features

  • Generic Container: Works with any type.
  • Safe Mutations: Uses a mutex to control access to the contained value.
  • Flexible Locking: Supports both blocking (Mut) and non-blocking (TryMut) locking.

Installation

To use the package, simply copy the mut package into your project or install it using your favorite dependency management tool.

If you are using Go modules:

go get github.com/dmitrorezn/go-mut

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages