diff --git a/README.md b/README.md index 8c8c45c..a55af2f 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ The implemented patterns were taken from Scala and Java. * **Reentrant Lock** - Mutex that allows goroutines to enter into the lock on a resource more than once. * **Optimistic Lock** - Mutex that allows optimistic reading. Could be retried or switched to RLock in case of failure. Significantly improves performance in case of frequent reads and short writes. See [benchmarks](./benchmarks/README.md). -### [Go 1.18 Generic prototypes](./generic) +### [Generic types](./generic) * **Task** - A data type for controlling possibly lazy and asynchronous computations. ## Examples diff --git a/generic/README.md b/generic/README.md deleted file mode 100644 index ba3ff3d..0000000 --- a/generic/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# Go 1.18 Generics package -This package contains preliminary [`Go Generics`](https://github.com/golang/go/issues/43651) prototypes. - -## Implemented data types -* asyncTask [1](#unexported) - -1 Unexported since it is not possible to export generic code yet. - -## Getting started - -### Go 1.17 -```sh -go test ./... -gcflags=-G=3 -vet=off -``` - -### Go 1.18+ -Install [gotip](https://pkg.go.dev/golang.org/dl/gotip): -```sh -go install golang.org/dl/gotip@latest -gotip download -``` -Use `gotip` to build and test the code.