Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Go
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Stiemerling
Go
Commits
4a3cb1ad
Commit
4a3cb1ad
authored
15 years ago
by
Michael Hoisie
Committed by
Russ Cox
15 years ago
Browse files
Options
Downloads
Patches
Plain Diff
bytes: add Trim, TrimLeft, TrimRight, and generic functions
R=rsc, r CC=golang-dev
https://golang.org/cl/946045
parent
d2aa7411
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/pkg/bytes/bytes.go
+65
-20
65 additions, 20 deletions
src/pkg/bytes/bytes.go
src/pkg/bytes/bytes_test.go
+69
-0
69 additions, 0 deletions
src/pkg/bytes/bytes_test.go
with
134 additions
and
20 deletions
Loading
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