Skip to content

Commit 46f8411

Browse files
committed
docs: add fork explanation
1 parent 442fd00 commit 46f8411

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
This is a fork of [golines](https://github.com/segmentio/golines) to be usable as a library.
44

5+
I considered other options before deciding to fork, but there are no straightforward or non-invasive changes.
6+
7+
Simply isolating some code within a package will not address the root issue unless the code is converted to a dedicated module and all debug/graph-related code is removed.
8+
Realistically, this is not possible.
9+
10+
Issues should be open either on the original [golines repository](https://github.com/segmentio/golines) or on [golangci-lint repository](https://github.com/golangci/golangci-lint).
11+
12+
**No modifications will be accepted other than the synchronization of the fork.**
13+
14+
The synchronization of the fork will be done by the golangci-lint maintainers only.
15+
516
## Modifications
617

718
- The original code is under the `main` package -> uses `golines` package.
@@ -21,10 +32,6 @@ This is a fork of [golines](https://github.com/segmentio/golines) to be usable a
2132
- The code related to graph has been removed.
2233
- The module name has been changed to `github.com/golangci/golines` to avoid replacement directives inside golangci-lint.
2334

24-
**No modifications will be accepted other than the synchronization of the fork.**
25-
26-
The synchronization of the fork will be done by the golangci-lint maintainers only.
27-
2835
## History
2936

3037
- sync with fc305205784a70b4cfc17397654f4c94e3153ce4 (after v0.12.2)

0 commit comments

Comments
 (0)