~dricottone/image2ascii

ref: 80cd2b553b0a44ef00114d715cec803559bf936a image2ascii/image2ascii.go -rw-r--r-- 2.3 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.
90b8bfee — qeesung 6 years ago
remove useless code
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
32c6345e — qeesung 6 years ago
add reverse options
e6d60b68 — qeesung 6 years ago
add main test case
c5de7795 — qeesung 6 years ago
add colored the asicc output
228de409 — qeesung 6 years ago
fixed the issue can the filename is null
3c5ecdf9 — qeesung 6 years ago
Parse the cli args