Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
golang-github-go-openapi-errors
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Go Packaging Team
packages
golang-github-go-openapi-errors
Commits
9b273e80
Commit
9b273e80
authored
6 years ago
by
Oleksandr Redko
Committed by
Ivan Porto Carrero
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix comment typos
Signed-off-by:
Oleksandr Redko
<
oleksandr.red+github@gmail.com
>
parent
0b2a0a1f
Branches
Branches containing commit
Tags
v0.19.3
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
parsing.go
+1
-1
1 addition, 1 deletion
parsing.go
schema.go
+6
-6
6 additions, 6 deletions
schema.go
with
7 additions
and
7 deletions
parsing.go
+
1
−
1
View file @
9b273e80
...
...
@@ -16,7 +16,7 @@ package errors
import
"fmt"
// ParseError re
s
presents a parsing error
// ParseError represents a parsing error
type
ParseError
struct
{
code
int32
Name
string
...
...
This diff is collapsed.
Click to expand it.
schema.go
+
6
−
6
View file @
9b273e80
...
...
@@ -296,7 +296,7 @@ func TooFewItems(name, in string, min int64) *Validation {
}
}
// ExceedsMaximumInt error for when maxi
n
um validation fails
// ExceedsMaximumInt error for when maxi
m
um validation fails
func
ExceedsMaximumInt
(
name
,
in
string
,
max
int64
,
exclusive
bool
)
*
Validation
{
var
message
string
if
in
==
""
{
...
...
@@ -321,7 +321,7 @@ func ExceedsMaximumInt(name, in string, max int64, exclusive bool) *Validation {
}
}
// ExceedsMaximumUint error for when maxi
n
um validation fails
// ExceedsMaximumUint error for when maxi
m
um validation fails
func
ExceedsMaximumUint
(
name
,
in
string
,
max
uint64
,
exclusive
bool
)
*
Validation
{
var
message
string
if
in
==
""
{
...
...
@@ -346,7 +346,7 @@ func ExceedsMaximumUint(name, in string, max uint64, exclusive bool) *Validation
}
}
// ExceedsMaximum error for when maxi
n
um validation fails
// ExceedsMaximum error for when maxi
m
um validation fails
func
ExceedsMaximum
(
name
,
in
string
,
max
float64
,
exclusive
bool
)
*
Validation
{
var
message
string
if
in
==
""
{
...
...
@@ -371,7 +371,7 @@ func ExceedsMaximum(name, in string, max float64, exclusive bool) *Validation {
}
}
// ExceedsMinimumInt error for when m
ax
inum validation fails
// ExceedsMinimumInt error for when min
im
um validation fails
func
ExceedsMinimumInt
(
name
,
in
string
,
min
int64
,
exclusive
bool
)
*
Validation
{
var
message
string
if
in
==
""
{
...
...
@@ -396,7 +396,7 @@ func ExceedsMinimumInt(name, in string, min int64, exclusive bool) *Validation {
}
}
// ExceedsMinimumUint error for when m
ax
inum validation fails
// ExceedsMinimumUint error for when min
im
um validation fails
func
ExceedsMinimumUint
(
name
,
in
string
,
min
uint64
,
exclusive
bool
)
*
Validation
{
var
message
string
if
in
==
""
{
...
...
@@ -421,7 +421,7 @@ func ExceedsMinimumUint(name, in string, min uint64, exclusive bool) *Validation
}
}
// ExceedsMinimum error for when m
ax
inum validation fails
// ExceedsMinimum error for when min
im
um validation fails
func
ExceedsMinimum
(
name
,
in
string
,
min
float64
,
exclusive
bool
)
*
Validation
{
var
message
string
if
in
==
""
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment