@@ -1191,7 +1191,7 @@ func functionWithErr() (ExprFunc[any], error) {
1191
1191
}
1192
1192
1193
1193
type stringSliceArguments struct {
1194
- Strings []string `ottlarg:"0"`
1194
+ Strings []string
1195
1195
}
1196
1196
1197
1197
func functionWithStringSlice (strs []string ) (ExprFunc [any ], error ) {
@@ -1201,7 +1201,7 @@ func functionWithStringSlice(strs []string) (ExprFunc[any], error) {
1201
1201
}
1202
1202
1203
1203
type floatSliceArguments struct {
1204
- Floats []float64 `ottlarg:"0"`
1204
+ Floats []float64
1205
1205
}
1206
1206
1207
1207
func functionWithFloatSlice (floats []float64 ) (ExprFunc [interface {}], error ) {
@@ -1211,7 +1211,7 @@ func functionWithFloatSlice(floats []float64) (ExprFunc[interface{}], error) {
1211
1211
}
1212
1212
1213
1213
type intSliceArguments struct {
1214
- Ints []int64 `ottlarg:"0"`
1214
+ Ints []int64
1215
1215
}
1216
1216
1217
1217
func functionWithIntSlice (ints []int64 ) (ExprFunc [interface {}], error ) {
@@ -1221,7 +1221,7 @@ func functionWithIntSlice(ints []int64) (ExprFunc[interface{}], error) {
1221
1221
}
1222
1222
1223
1223
type byteSliceArguments struct {
1224
- Bytes []byte `ottlarg:"0"`
1224
+ Bytes []byte
1225
1225
}
1226
1226
1227
1227
func functionWithByteSlice (bytes []byte ) (ExprFunc [interface {}], error ) {
@@ -1231,7 +1231,7 @@ func functionWithByteSlice(bytes []byte) (ExprFunc[interface{}], error) {
1231
1231
}
1232
1232
1233
1233
type getterSliceArguments struct {
1234
- Getters []Getter [any ] `ottlarg:"0"`
1234
+ Getters []Getter [any ]
1235
1235
}
1236
1236
1237
1237
func functionWithGetterSlice (getters []Getter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1241,7 +1241,7 @@ func functionWithGetterSlice(getters []Getter[interface{}]) (ExprFunc[interface{
1241
1241
}
1242
1242
1243
1243
type stringGetterSliceArguments struct {
1244
- StringGetters []StringGetter [any ] `ottlarg:"0"`
1244
+ StringGetters []StringGetter [any ]
1245
1245
}
1246
1246
1247
1247
func functionWithStringGetterSlice (getters []StringGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1251,7 +1251,7 @@ func functionWithStringGetterSlice(getters []StringGetter[interface{}]) (ExprFun
1251
1251
}
1252
1252
1253
1253
type durationGetterSliceArguments struct {
1254
- DurationGetters []DurationGetter [any ] `ottlarg:"0"`
1254
+ DurationGetters []DurationGetter [any ]
1255
1255
}
1256
1256
1257
1257
func functionWithDurationGetterSlice (_ []DurationGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1261,7 +1261,7 @@ func functionWithDurationGetterSlice(_ []DurationGetter[interface{}]) (ExprFunc[
1261
1261
}
1262
1262
1263
1263
type timeGetterSliceArguments struct {
1264
- TimeGetters []TimeGetter [any ] `ottlarg:"0"`
1264
+ TimeGetters []TimeGetter [any ]
1265
1265
}
1266
1266
1267
1267
func functionWithTimeGetterSlice (_ []TimeGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1271,7 +1271,7 @@ func functionWithTimeGetterSlice(_ []TimeGetter[interface{}]) (ExprFunc[interfac
1271
1271
}
1272
1272
1273
1273
type floatGetterSliceArguments struct {
1274
- FloatGetters []FloatGetter [any ] `ottlarg:"0"`
1274
+ FloatGetters []FloatGetter [any ]
1275
1275
}
1276
1276
1277
1277
func functionWithFloatGetterSlice (getters []FloatGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1281,7 +1281,7 @@ func functionWithFloatGetterSlice(getters []FloatGetter[interface{}]) (ExprFunc[
1281
1281
}
1282
1282
1283
1283
type intGetterSliceArguments struct {
1284
- IntGetters []IntGetter [any ] `ottlarg:"0"`
1284
+ IntGetters []IntGetter [any ]
1285
1285
}
1286
1286
1287
1287
func functionWithIntGetterSlice (getters []IntGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1291,7 +1291,7 @@ func functionWithIntGetterSlice(getters []IntGetter[interface{}]) (ExprFunc[inte
1291
1291
}
1292
1292
1293
1293
type pMapGetterSliceArguments struct {
1294
- PMapGetters []PMapGetter [any ] `ottlarg:"0"`
1294
+ PMapGetters []PMapGetter [any ]
1295
1295
}
1296
1296
1297
1297
func functionWithPMapGetterSlice (getters []PMapGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1301,7 +1301,7 @@ func functionWithPMapGetterSlice(getters []PMapGetter[interface{}]) (ExprFunc[in
1301
1301
}
1302
1302
1303
1303
type stringLikeGetterSliceArguments struct {
1304
- StringLikeGetters []StringLikeGetter [any ] `ottlarg:"0"`
1304
+ StringLikeGetters []StringLikeGetter [any ]
1305
1305
}
1306
1306
1307
1307
func functionWithStringLikeGetterSlice (getters []StringLikeGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1311,7 +1311,7 @@ func functionWithStringLikeGetterSlice(getters []StringLikeGetter[interface{}])
1311
1311
}
1312
1312
1313
1313
type floatLikeGetterSliceArguments struct {
1314
- FloatLikeGetters []FloatLikeGetter [any ] `ottlarg:"0"`
1314
+ FloatLikeGetters []FloatLikeGetter [any ]
1315
1315
}
1316
1316
1317
1317
func functionWithFloatLikeGetterSlice (getters []FloatLikeGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1321,7 +1321,7 @@ func functionWithFloatLikeGetterSlice(getters []FloatLikeGetter[interface{}]) (E
1321
1321
}
1322
1322
1323
1323
type intLikeGetterSliceArguments struct {
1324
- IntLikeGetters []IntLikeGetter [any ] `ottlarg:"0"`
1324
+ IntLikeGetters []IntLikeGetter [any ]
1325
1325
}
1326
1326
1327
1327
func functionWithIntLikeGetterSlice (getters []IntLikeGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1331,7 +1331,7 @@ func functionWithIntLikeGetterSlice(getters []IntLikeGetter[interface{}]) (ExprF
1331
1331
}
1332
1332
1333
1333
type setterArguments struct {
1334
- SetterArg Setter [any ] `ottlarg:"0"`
1334
+ SetterArg Setter [any ]
1335
1335
}
1336
1336
1337
1337
func functionWithSetter (Setter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1341,7 +1341,7 @@ func functionWithSetter(Setter[interface{}]) (ExprFunc[interface{}], error) {
1341
1341
}
1342
1342
1343
1343
type getSetterArguments struct {
1344
- GetSetterArg GetSetter [any ] `ottlarg:"0"`
1344
+ GetSetterArg GetSetter [any ]
1345
1345
}
1346
1346
1347
1347
func functionWithGetSetter (GetSetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1351,7 +1351,7 @@ func functionWithGetSetter(GetSetter[interface{}]) (ExprFunc[interface{}], error
1351
1351
}
1352
1352
1353
1353
type getterArguments struct {
1354
- GetterArg Getter [any ] `ottlarg:"0"`
1354
+ GetterArg Getter [any ]
1355
1355
}
1356
1356
1357
1357
func functionWithGetter (Getter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1361,7 +1361,7 @@ func functionWithGetter(Getter[interface{}]) (ExprFunc[interface{}], error) {
1361
1361
}
1362
1362
1363
1363
type stringGetterArguments struct {
1364
- StringGetterArg StringGetter [any ] `ottlarg:"0"`
1364
+ StringGetterArg StringGetter [any ]
1365
1365
}
1366
1366
1367
1367
func functionWithStringGetter (StringGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1371,7 +1371,7 @@ func functionWithStringGetter(StringGetter[interface{}]) (ExprFunc[interface{}],
1371
1371
}
1372
1372
1373
1373
type durationGetterArguments struct {
1374
- DurationGetterArg DurationGetter [any ] `ottlarg:"0"`
1374
+ DurationGetterArg DurationGetter [any ]
1375
1375
}
1376
1376
1377
1377
func functionWithDurationGetter (DurationGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1381,7 +1381,7 @@ func functionWithDurationGetter(DurationGetter[interface{}]) (ExprFunc[interface
1381
1381
}
1382
1382
1383
1383
type timeGetterArguments struct {
1384
- TimeGetterArg TimeGetter [any ] `ottlarg:"0"`
1384
+ TimeGetterArg TimeGetter [any ]
1385
1385
}
1386
1386
1387
1387
func functionWithTimeGetter (TimeGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1391,7 +1391,7 @@ func functionWithTimeGetter(TimeGetter[interface{}]) (ExprFunc[interface{}], err
1391
1391
}
1392
1392
1393
1393
type functionGetterArguments struct {
1394
- FunctionGetterArg FunctionGetter [any ] `ottlarg:"0"`
1394
+ FunctionGetterArg FunctionGetter [any ]
1395
1395
}
1396
1396
1397
1397
func functionWithFunctionGetter (FunctionGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1401,7 +1401,7 @@ func functionWithFunctionGetter(FunctionGetter[interface{}]) (ExprFunc[interface
1401
1401
}
1402
1402
1403
1403
type stringLikeGetterArguments struct {
1404
- StringLikeGetterArg StringLikeGetter [any ] `ottlarg:"0"`
1404
+ StringLikeGetterArg StringLikeGetter [any ]
1405
1405
}
1406
1406
1407
1407
func functionWithStringLikeGetter (StringLikeGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1411,7 +1411,7 @@ func functionWithStringLikeGetter(StringLikeGetter[interface{}]) (ExprFunc[inter
1411
1411
}
1412
1412
1413
1413
type floatGetterArguments struct {
1414
- FloatGetterArg FloatGetter [any ] `ottlarg:"0"`
1414
+ FloatGetterArg FloatGetter [any ]
1415
1415
}
1416
1416
1417
1417
func functionWithFloatGetter (FloatGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1421,7 +1421,7 @@ func functionWithFloatGetter(FloatGetter[interface{}]) (ExprFunc[interface{}], e
1421
1421
}
1422
1422
1423
1423
type floatLikeGetterArguments struct {
1424
- FloatLikeGetterArg FloatLikeGetter [any ] `ottlarg:"0"`
1424
+ FloatLikeGetterArg FloatLikeGetter [any ]
1425
1425
}
1426
1426
1427
1427
func functionWithFloatLikeGetter (FloatLikeGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1431,7 +1431,7 @@ func functionWithFloatLikeGetter(FloatLikeGetter[interface{}]) (ExprFunc[interfa
1431
1431
}
1432
1432
1433
1433
type intGetterArguments struct {
1434
- IntGetterArg IntGetter [any ] `ottlarg:"0"`
1434
+ IntGetterArg IntGetter [any ]
1435
1435
}
1436
1436
1437
1437
func functionWithIntGetter (IntGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1441,7 +1441,7 @@ func functionWithIntGetter(IntGetter[interface{}]) (ExprFunc[interface{}], error
1441
1441
}
1442
1442
1443
1443
type intLikeGetterArguments struct {
1444
- IntLikeGetterArg IntLikeGetter [any ] `ottlarg:"0"`
1444
+ IntLikeGetterArg IntLikeGetter [any ]
1445
1445
}
1446
1446
1447
1447
func functionWithIntLikeGetter (IntLikeGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1451,7 +1451,7 @@ func functionWithIntLikeGetter(IntLikeGetter[interface{}]) (ExprFunc[interface{}
1451
1451
}
1452
1452
1453
1453
type pMapGetterArguments struct {
1454
- PMapArg PMapGetter [any ] `ottlarg:"0"`
1454
+ PMapArg PMapGetter [any ]
1455
1455
}
1456
1456
1457
1457
func functionWithPMapGetter (PMapGetter [interface {}]) (ExprFunc [interface {}], error ) {
@@ -1461,7 +1461,7 @@ func functionWithPMapGetter(PMapGetter[interface{}]) (ExprFunc[interface{}], err
1461
1461
}
1462
1462
1463
1463
type stringArguments struct {
1464
- StringArg string `ottlarg:"0"`
1464
+ StringArg string
1465
1465
}
1466
1466
1467
1467
func functionWithString (string ) (ExprFunc [interface {}], error ) {
@@ -1471,7 +1471,7 @@ func functionWithString(string) (ExprFunc[interface{}], error) {
1471
1471
}
1472
1472
1473
1473
type floatArguments struct {
1474
- FloatArg float64 `ottlarg:"0"`
1474
+ FloatArg float64
1475
1475
}
1476
1476
1477
1477
func functionWithFloat (float64 ) (ExprFunc [interface {}], error ) {
@@ -1481,7 +1481,7 @@ func functionWithFloat(float64) (ExprFunc[interface{}], error) {
1481
1481
}
1482
1482
1483
1483
type intArguments struct {
1484
- IntArg int64 `ottlarg:"0"`
1484
+ IntArg int64
1485
1485
}
1486
1486
1487
1487
func functionWithInt (int64 ) (ExprFunc [interface {}], error ) {
@@ -1491,7 +1491,7 @@ func functionWithInt(int64) (ExprFunc[interface{}], error) {
1491
1491
}
1492
1492
1493
1493
type boolArguments struct {
1494
- BoolArg bool `ottlarg:"0"`
1494
+ BoolArg bool
1495
1495
}
1496
1496
1497
1497
func functionWithBool (bool ) (ExprFunc [interface {}], error ) {
@@ -1501,10 +1501,10 @@ func functionWithBool(bool) (ExprFunc[interface{}], error) {
1501
1501
}
1502
1502
1503
1503
type multipleArgsArguments struct {
1504
- GetSetterArg GetSetter [any ] `ottlarg:"0"`
1505
- StringArg string `ottlarg:"1"`
1506
- FloatArg float64 `ottlarg:"2"`
1507
- IntArg int64 `ottlarg:"3"`
1504
+ GetSetterArg GetSetter [any ]
1505
+ StringArg string
1506
+ FloatArg float64
1507
+ IntArg int64
1508
1508
}
1509
1509
1510
1510
func functionWithMultipleArgs (GetSetter [interface {}], string , float64 , int64 ) (ExprFunc [interface {}], error ) {
@@ -1523,7 +1523,7 @@ func functionThatHasAnError() (ExprFunc[interface{}], error) {
1523
1523
}
1524
1524
1525
1525
type enumArguments struct {
1526
- EnumArg Enum `ottlarg:"0"`
1526
+ EnumArg Enum
1527
1527
}
1528
1528
1529
1529
func functionWithEnum (Enum ) (ExprFunc [interface {}], error ) {
0 commit comments