~dricottone/image2ascii

ref: a03493e21bf601ce28a5450244d692a1de5ca2cb image2ascii/convert/resize.go -rw-r--r-- 5.8 KiB
Migrate from Dep to Go Modules

Go Modules are the preferred way to manage dependencies in Go programs
since version 1.11. The migration process involves:

 1. go mod init git.dominic-ricottone.com/~dricottone/image2ascii
    (replace the host as needed)
 2. Replace the host in files requiring an internal module
    (this was specifically image2ascii.go, convert/convert.go,
    convert/resize.go, and convert/resize_test.go)
 3. go mod tidy
 4. rm -rf vendor/ Gopkg.lock Gopkg.toml
 5. go get -u

go.mod now contains all the information required to build the program.
eaef718c — qeesung 6 years ago
Fixed the high cyclomatic complexity issue
3b332954 — qeesung 6 years ago
update the logic
8ba26814 — qeesung 6 years ago
fixed the lint issue
4ad980ef — qeesung 6 years ago
Refactor the code to match the oop mode for easy mock and test
9e6742da — qeesung 6 years ago
add the fit options to scale the image to fit the screen
a482eea7 — qeesung 6 years ago
refactor the convert package
49547468 — qeesung 6 years ago
Rewrite the go docs
c3affd9f — qeesung 6 years ago
fixed the comment
65420f04 — qeesung 6 years ago
fixed the resize.go code style issue
f71f4386 — qeesung 6 years ago
remove the useless code
c6c0ddbf — qeesung 6 years ago
Add the method to fit the screen
55dcbb9f — qeesung 6 years ago
add some depedencies to calc the terminal size
e7b10cae — qeesung 6 years ago
change the char width to 0.5
85eb98c1 — qeesung 6 years ago
remove some useless code
9b483cdb — qeesung 6 years ago
add the resize package