mirror of
https://github.com/mum4k/termdash.git
synced 2026-04-27 03:15:55 +03:00
[PR #219] [CLOSED] dw/fork #264
Labels
No labels
bug
cleanup
enhancement
enhancement
enhancement
good first issue
help wanted
help wanted
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/termdash#264
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mum4k/termdash/pull/219
Author: @donaldww
Created: 7/9/2019
Status: ❌ Closed
Base:
master← Head:dw/fork📝 Commits (5)
c31957dAdd go.mod809089aUpdate for compatibility with go.mod8342421Run go mod tidyfc6a0d0Source file cleanupd70b7daUpdate go.mod📊 Changes
137 files changed (+662 additions, -627 deletions)
View changed files
📝
container/container.go(+6 -6)📝
container/container_test.go(+15 -15)📝
container/draw.go(+5 -5)📝
container/draw_test.go(+9 -9)📝
container/focus.go(+3 -3)📝
container/focus_test.go(+7 -7)📝
container/grid/grid.go(+2 -2)📝
container/grid/grid_test.go(+13 -13)📝
container/options.go(+5 -5)📝
container/traversal_test.go(+2 -2)➕
go.mod(+9 -0)➕
go.sum(+6 -0)📝
internal/alignfor/alignfor.go(+3 -3)📝
internal/alignfor/alignfor_test.go(+2 -1)📝
internal/area/area.go(+1 -1)📝
internal/attrrange/attrrange_test.go(+2 -1)📝
internal/button/button.go(+2 -2)📝
internal/button/button_test.go(+2 -2)📝
internal/canvas/braille/braille.go(+3 -3)📝
internal/canvas/braille/braille_test.go(+6 -5)...and 80 more files
📄 Description
This branch is compatible with Go Modules, which will be the default dependency management system upon release of go 1.13. It already works with go 1.12 by setting GO111MODULE=on.
Although there are many files touched, it really boils down to adding a go.mod file in the root directory, and eliminating "github.com/mum4k/" from all of the import statements. Thus the number of modified files.
The advantage of having the local dependancies sourced from within the directory structure is that when you're changing any packages or examples, test compiles use those locally changed files, rather than importing the unaltered versions on github.
I ran all of the tests, and they all (2499) passed. Also compiled and ran the example programs.
Cheers, DW
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.