Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ld
go-ld-prime
Commits
0f7de4a9
Commit
0f7de4a9
authored
Feb 23, 2020
by
Eric Myhre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spelling fix.
parent
f163fee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pathSegment.go
pathSegment.go
+2
-2
No files found.
pathSegment.go
View file @
0f7de4a9
...
@@ -62,13 +62,13 @@ func ParsePathSegment(s string) PathSegment {
...
@@ -62,13 +62,13 @@ func ParsePathSegment(s string) PathSegment {
return
PathSegment
{
s
:
s
}
return
PathSegment
{
s
:
s
}
}
}
// PathSegmentOfString boxes a string into a PathSeg
e
ment.
// PathSegmentOfString boxes a string into a PathSegment.
// It does not attempt to parse any escaping; use ParsePathSegment for that.
// It does not attempt to parse any escaping; use ParsePathSegment for that.
func
PathSegmentOfString
(
s
string
)
PathSegment
{
func
PathSegmentOfString
(
s
string
)
PathSegment
{
return
PathSegment
{
s
:
s
}
return
PathSegment
{
s
:
s
}
}
}
// PathSegmentOfString boxes an int into a PathSeg
e
ment.
// PathSegmentOfString boxes an int into a PathSegment.
func
PathSegmentOfInt
(
i
int
)
PathSegment
{
func
PathSegmentOfInt
(
i
int
)
PathSegment
{
return
PathSegment
{
i
:
i
}
return
PathSegment
{
i
:
i
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment