Skip to content

Commit f68ad77

Browse files
committed
Make TrustedValue interface implementable
1 parent 50edde1 commit f68ad77

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/scrubber/scrubber.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Example:
4545
}
4646
*/
4747
type TrustedValue interface {
48-
isTrustedValue()
48+
IsTrustedValue()
4949
}
5050

5151
// Scrubber defines the interface for a scrubber, which can sanitise various types of data.

components/scrubber/scrubber_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ type TrustedStructToTest struct {
6767
StructToTest
6868
}
6969

70-
func (TrustedStructToTest) isTrustedValue() {}
70+
func (TrustedStructToTest) IsTrustedValue() {}
7171

7272
func scrubStructToTestAsTrustedValue(v *StructToTest) TrustedValue {
7373
return scrubStructToTest(v)

0 commit comments

Comments
 (0)