Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Go Gitdiff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
Infisical
Go Gitdiff
Commits
019d7f03
Commit
019d7f03
authored
1 year ago
by
Maidul Islam
Browse files
Options
Downloads
Patches
Plain Diff
rename
parent
981bc4b6
Branches
master
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.golangci.yml
+1
-1
1 addition, 1 deletion
.golangci.yml
README.md
+1
-1
1 addition, 1 deletion
README.md
gitdiff/testdata/apply/bin.go
+1
-1
1 addition, 1 deletion
gitdiff/testdata/apply/bin.go
go.mod
+1
-1
1 addition, 1 deletion
go.mod
with
4 additions
and
4 deletions
.golangci.yml
+
1
−
1
View file @
019d7f03
...
...
@@ -21,4 +21,4 @@ issues:
linter-settings
:
goimports
:
local-prefixes
:
github.com/
bluekeyes
/go-gitdiff
local-prefixes
:
github.com/
Infisical
/go-gitdiff
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
019d7f03
# go-gitdiff
[
![PkgGoDev
](
https://pkg.go.dev/badge/github.com/
bluekeyes
/go-gitdiff/gitdiff
)
](https://pkg.go.dev/github.com/
bluekeyes
/go-gitdiff/gitdiff)
[
![Go Report Card
](
https://goreportcard.com/badge/github.com/
bluekeyes
/go-gitdiff
)
](https://goreportcard.com/report/github.com/
bluekeyes
/go-gitdiff)
[
![PkgGoDev
](
https://pkg.go.dev/badge/github.com/
Infisical
/go-gitdiff/gitdiff
)
](https://pkg.go.dev/github.com/
Infisical
/go-gitdiff/gitdiff)
[
![Go Report Card
](
https://goreportcard.com/badge/github.com/
Infisical
/go-gitdiff
)
](https://goreportcard.com/report/github.com/
Infisical
/go-gitdiff)
A Go library for parsing and applying patches generated by
`git diff`
,
`git
show`
, and
`git format-patch`
. It can also parse and apply unified diffs
...
...
This diff is collapsed.
Click to expand it.
gitdiff/testdata/apply/bin.go
+
1
−
1
View file @
019d7f03
...
...
@@ -17,7 +17,7 @@ import (
"os"
"strings"
"github.com/
bluekeyes
/go-gitdiff/gitdiff"
"github.com/
Infisical
/go-gitdiff/gitdiff"
)
var
(
...
...
This diff is collapsed.
Click to expand it.
go.mod
+
1
−
1
View file @
019d7f03
module
github.com/
bluekeyes
/go-gitdiff
module
github.com/
Infisical
/go-gitdiff
go 1.13
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