Skip to content

Commit c6123ac

Browse files
committed
Go v1.21.3
1 parent cb61ec5 commit c6123ac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/smartystreets/redact
22

3-
go 1.17
3+
go 1.21

redact_structs.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type Redactor struct {
1111
maxLength int
1212
}
1313

14-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
14+
// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
1515
type phoneRedaction struct {
1616
*matched
1717
start int
@@ -49,12 +49,12 @@ type emailRedaction struct {
4949
length int
5050
}
5151

52-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
52+
// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5353
func isNumeric(value byte) bool {
5454
return value >= '0' && value <= '9'
5555
}
5656

57-
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
57+
// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
5858
const (
5959
MaxEmailLength = 254
6060

0 commit comments

Comments
 (0)