ListsVersion configures the version of the string library. The version limits which functions are available. Only functions introduced below or equal to the given version included in the library. If this option is not set, all functions are available. See the library documentation to determine whi
(version uint32)
| 185 | // If the documentation does not state which version a function was introduced, it can |
| 186 | // be assumed to be introduced at version 0, when the library was first created. |
| 187 | func ListsVersion(version uint32) ListsOption { |
| 188 | return func(lib *listsLib) *listsLib { |
| 189 | lib.version = version |
| 190 | return lib |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | // ListsMaxRangeSize sets the maximum number of elements lists.range() will |
| 195 | // allocate. If not set, the default is 1,000,000. Setting this to zero |
no outgoing calls