TwoVarComprehensionsVersion sets the library version for two-variable comprehensions.
(version uint32)
| 173 | |
| 174 | // TwoVarComprehensionsVersion sets the library version for two-variable comprehensions. |
| 175 | func TwoVarComprehensionsVersion(version uint32) TwoVarComprehensionsOption { |
| 176 | return func(lib *compreV2Lib) *compreV2Lib { |
| 177 | lib.version = version |
| 178 | return lib |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | type compreV2Lib struct { |
| 183 | version uint32 |
no outgoing calls