github.com/saintwish/kv@v1.0.4/swiss/README.md (about) 1 # swiss 2 Fork of the swiss map [here](https://github.com/dolthub/swiss) with a few minor changes to work with some of my packages. 3 4 List of said minor changes. 5 * CHANGED ``(Map) Get(key any) (value any)`` - Now only returns a value. 6 * ADDED ``(Map) GetHas(key any) (ok bool, value any)`` - Returns value and ok if said key exists. 7 * CHANGED ``(Map) Set(key any, value any)`` - Renamed method Put to Set. 8 * CHANGED ``(Map) Delete(key any) (ok bool, value any)`` - Now returns the old value if successful. 9 * ADDED ``(Map) MaxCapacity() (int)`` - Returns the max capacity before the map needs to resize.