diff options
| author | Loyalsoldier <[email protected]> | 2023-10-29 15:37:22 +0800 |
|---|---|---|
| committer | Loyalsoldier <[email protected]> | 2023-10-29 15:37:22 +0800 |
| commit | 82bc6a9f3ccf028ff4c01849b4aee33a0c0bd94d (patch) | |
| tree | 9fe3f104f4f232bb4fb81c92dabeb9e4dc087430 /lib/error.go | |
| parent | cbbee50da7d45aad95c2700bc7148e0636170c62 (diff) | |
Feat: skip comment within a line in plaintext formats automatically
content starts with `#` `//` `/*` within a line will be treated as comment and be ignored
Diffstat (limited to 'lib/error.go')
| -rw-r--r-- | lib/error.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/error.go b/lib/error.go index c990d367..1b8e4518 100644 --- a/lib/error.go +++ b/lib/error.go @@ -11,4 +11,5 @@ var ( ErrInvalidIPLength = errors.New("invalid IP address length") ErrInvalidIPNet = errors.New("invalid IPNet address") ErrInvalidPrefixType = errors.New("invalid prefix type") + ErrCommentLine = errors.New("comment line") ) |
