Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright IBM Corp. 2019, 2025
# Copyright IBM Corp. 2019, 2026
# SPDX-License-Identifier: MPL-2.0

version: "2"
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright IBM Corp. 2019, 2025
Copyright IBM Corp. 2019, 2026

Mozilla Public License Version 2.0
==================================
Expand Down
2 changes: 1 addition & 1 deletion bexpr_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2019, 2025
// Copyright IBM Corp. 2019, 2026
// SPDX-License-Identifier: MPL-2.0

package bexpr
Expand Down
2 changes: 1 addition & 1 deletion common_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2019, 2025
// Copyright IBM Corp. 2019, 2026
// SPDX-License-Identifier: MPL-2.0

package bexpr
Expand Down
2 changes: 1 addition & 1 deletion evaluate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2019, 2025
// Copyright IBM Corp. 2019, 2026
// SPDX-License-Identifier: MPL-2.0

package bexpr
Expand Down Expand Up @@ -63,7 +63,7 @@

// Get rid of 0 to many levels of pointers to get at the real type
func derefType(rtype reflect.Type) reflect.Type {
for rtype.Kind() == reflect.Ptr {

Check failure on line 66 in evaluate.go

View workflow job for this annotation

GitHub Actions / test (stable)

inline: Constant reflect.Ptr should be inlined (govet)

Check failure on line 66 in evaluate.go

View workflow job for this annotation

GitHub Actions / test (oldstable)

inline: Constant reflect.Ptr should be inlined (govet)
rtype = rtype.Elem()
}
return rtype
Expand Down
2 changes: 1 addition & 1 deletion evaluate_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2019, 2025
// Copyright IBM Corp. 2019, 2026
// SPDX-License-Identifier: MPL-2.0

package bexpr
Expand Down
2 changes: 1 addition & 1 deletion examples/expr-eval/expr-eval.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2019, 2025
// Copyright IBM Corp. 2019, 2026
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion filter.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2019, 2025
// Copyright IBM Corp. 2019, 2026
// SPDX-License-Identifier: MPL-2.0

package bexpr
Expand Down
2 changes: 1 addition & 1 deletion grammar/ast.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2019, 2025
// Copyright IBM Corp. 2019, 2026
// SPDX-License-Identifier: MPL-2.0

package grammar
Expand Down
2 changes: 1 addition & 1 deletion grammar/ast_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright IBM Corp. 2019, 2025
// Copyright IBM Corp. 2019, 2026
// SPDX-License-Identifier: MPL-2.0

package grammar
Expand Down
Loading