~dricottone/image2ascii

a03493e21bf601ce28a5450244d692a1de5ca2cb — Dominic Ricottone 2 years ago 4db5ede
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.
313 files changed, 29 insertions(+), 194638 deletions(-)

M .gitignore
M convert/convert.go
M convert/resize.go
M convert/resize_test.go
A go.mod
M image2ascii.go
D vendor/github.com/aybabtme/rgbterm/LICENSE
D vendor/github.com/aybabtme/rgbterm/README.md
D vendor/github.com/aybabtme/rgbterm/codes.go
D vendor/github.com/aybabtme/rgbterm/interpret.go
D vendor/github.com/aybabtme/rgbterm/rainbow/LICENSE
D vendor/github.com/aybabtme/rgbterm/rgbterm.go
D vendor/github.com/aybabtme/rgbterm/util.go
D vendor/github.com/davecgh/go-spew/LICENSE
D vendor/github.com/davecgh/go-spew/spew/bypass.go
D vendor/github.com/davecgh/go-spew/spew/bypasssafe.go
D vendor/github.com/davecgh/go-spew/spew/common.go
D vendor/github.com/davecgh/go-spew/spew/config.go
D vendor/github.com/davecgh/go-spew/spew/doc.go
D vendor/github.com/davecgh/go-spew/spew/dump.go
D vendor/github.com/davecgh/go-spew/spew/format.go
D vendor/github.com/davecgh/go-spew/spew/spew.go
D vendor/github.com/mattn/go-isatty/.travis.yml
D vendor/github.com/mattn/go-isatty/LICENSE
D vendor/github.com/mattn/go-isatty/README.md
D vendor/github.com/mattn/go-isatty/doc.go
D vendor/github.com/mattn/go-isatty/isatty_appengine.go
D vendor/github.com/mattn/go-isatty/isatty_bsd.go
D vendor/github.com/mattn/go-isatty/isatty_linux.go
D vendor/github.com/mattn/go-isatty/isatty_linux_ppc64x.go
D vendor/github.com/mattn/go-isatty/isatty_others.go
D vendor/github.com/mattn/go-isatty/isatty_solaris.go
D vendor/github.com/mattn/go-isatty/isatty_windows.go
D vendor/github.com/nfnt/resize/.travis.yml
D vendor/github.com/nfnt/resize/LICENSE
D vendor/github.com/nfnt/resize/README.md
D vendor/github.com/nfnt/resize/converter.go
D vendor/github.com/nfnt/resize/filters.go
D vendor/github.com/nfnt/resize/nearest.go
D vendor/github.com/nfnt/resize/resize.go
D vendor/github.com/nfnt/resize/thumbnail.go
D vendor/github.com/nfnt/resize/ycc.go
D vendor/github.com/pmezard/go-difflib/LICENSE
D vendor/github.com/pmezard/go-difflib/difflib/difflib.go
D vendor/github.com/stretchr/testify/LICENSE
D vendor/github.com/stretchr/testify/assert/assertion_format.go
D vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl
D vendor/github.com/stretchr/testify/assert/assertion_forward.go
D vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl
D vendor/github.com/stretchr/testify/assert/assertions.go
D vendor/github.com/stretchr/testify/assert/doc.go
D vendor/github.com/stretchr/testify/assert/errors.go
D vendor/github.com/stretchr/testify/assert/forward_assertions.go
D vendor/github.com/stretchr/testify/assert/http_assertions.go
D vendor/github.com/wayneashleyberry/terminal-dimensions/.travis.yml
D vendor/github.com/wayneashleyberry/terminal-dimensions/license
D vendor/github.com/wayneashleyberry/terminal-dimensions/readme.md
D vendor/github.com/wayneashleyberry/terminal-dimensions/terminaldimensions.go
D vendor/golang.org/x/sys/AUTHORS
D vendor/golang.org/x/sys/CONTRIBUTORS
D vendor/golang.org/x/sys/LICENSE
D vendor/golang.org/x/sys/PATENTS
D vendor/golang.org/x/sys/unix/.gitignore
D vendor/golang.org/x/sys/unix/README.md
D vendor/golang.org/x/sys/unix/affinity_linux.go
D vendor/golang.org/x/sys/unix/aliases.go
D vendor/golang.org/x/sys/unix/asm_aix_ppc64.s
D vendor/golang.org/x/sys/unix/asm_darwin_386.s
D vendor/golang.org/x/sys/unix/asm_darwin_amd64.s
D vendor/golang.org/x/sys/unix/asm_darwin_arm.s
D vendor/golang.org/x/sys/unix/asm_darwin_arm64.s
D vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s
D vendor/golang.org/x/sys/unix/asm_freebsd_386.s
D vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s
D vendor/golang.org/x/sys/unix/asm_freebsd_arm.s
D vendor/golang.org/x/sys/unix/asm_linux_386.s
D vendor/golang.org/x/sys/unix/asm_linux_amd64.s
D vendor/golang.org/x/sys/unix/asm_linux_arm.s
D vendor/golang.org/x/sys/unix/asm_linux_arm64.s
D vendor/golang.org/x/sys/unix/asm_linux_mips64x.s
D vendor/golang.org/x/sys/unix/asm_linux_mipsx.s
D vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s
D vendor/golang.org/x/sys/unix/asm_linux_s390x.s
D vendor/golang.org/x/sys/unix/asm_netbsd_386.s
D vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s
D vendor/golang.org/x/sys/unix/asm_netbsd_arm.s
D vendor/golang.org/x/sys/unix/asm_openbsd_386.s
D vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s
D vendor/golang.org/x/sys/unix/asm_openbsd_arm.s
D vendor/golang.org/x/sys/unix/asm_solaris_amd64.s
D vendor/golang.org/x/sys/unix/bluetooth_linux.go
D vendor/golang.org/x/sys/unix/cap_freebsd.go
D vendor/golang.org/x/sys/unix/constants.go
D vendor/golang.org/x/sys/unix/dev_aix_ppc.go
D vendor/golang.org/x/sys/unix/dev_aix_ppc64.go
D vendor/golang.org/x/sys/unix/dev_darwin.go
D vendor/golang.org/x/sys/unix/dev_dragonfly.go
D vendor/golang.org/x/sys/unix/dev_freebsd.go
D vendor/golang.org/x/sys/unix/dev_linux.go
D vendor/golang.org/x/sys/unix/dev_netbsd.go
D vendor/golang.org/x/sys/unix/dev_openbsd.go
D vendor/golang.org/x/sys/unix/dirent.go
D vendor/golang.org/x/sys/unix/endian_big.go
D vendor/golang.org/x/sys/unix/endian_little.go
D vendor/golang.org/x/sys/unix/env_unix.go
D vendor/golang.org/x/sys/unix/errors_freebsd_386.go
D vendor/golang.org/x/sys/unix/errors_freebsd_amd64.go
D vendor/golang.org/x/sys/unix/errors_freebsd_arm.go
D vendor/golang.org/x/sys/unix/fcntl.go
D vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go
D vendor/golang.org/x/sys/unix/gccgo.go
D vendor/golang.org/x/sys/unix/gccgo_c.c
D vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go
D vendor/golang.org/x/sys/unix/ioctl.go
D vendor/golang.org/x/sys/unix/mkall.sh
D vendor/golang.org/x/sys/unix/mkerrors.sh
D vendor/golang.org/x/sys/unix/mkpost.go
D vendor/golang.org/x/sys/unix/mksyscall.pl
D vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.pl
D vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.pl
D vendor/golang.org/x/sys/unix/mksyscall_solaris.pl
D vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl
D vendor/golang.org/x/sys/unix/mksysnum_darwin.pl
D vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl
D vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl
D vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl
D vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl
D vendor/golang.org/x/sys/unix/openbsd_pledge.go
D vendor/golang.org/x/sys/unix/pagesize_unix.go
D vendor/golang.org/x/sys/unix/race.go
D vendor/golang.org/x/sys/unix/race0.go
D vendor/golang.org/x/sys/unix/sockcmsg_linux.go
D vendor/golang.org/x/sys/unix/sockcmsg_unix.go
D vendor/golang.org/x/sys/unix/str.go
D vendor/golang.org/x/sys/unix/syscall.go
D vendor/golang.org/x/sys/unix/syscall_aix.go
D vendor/golang.org/x/sys/unix/syscall_aix_ppc.go
D vendor/golang.org/x/sys/unix/syscall_aix_ppc64.go
D vendor/golang.org/x/sys/unix/syscall_bsd.go
D vendor/golang.org/x/sys/unix/syscall_darwin.go
D vendor/golang.org/x/sys/unix/syscall_darwin_386.go
D vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go
D vendor/golang.org/x/sys/unix/syscall_darwin_arm.go
D vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go
D vendor/golang.org/x/sys/unix/syscall_dragonfly.go
D vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go
D vendor/golang.org/x/sys/unix/syscall_freebsd.go
D vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
D vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
D vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
D vendor/golang.org/x/sys/unix/syscall_linux.go
D vendor/golang.org/x/sys/unix/syscall_linux_386.go
D vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
D vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go
D vendor/golang.org/x/sys/unix/syscall_linux_arm.go
D vendor/golang.org/x/sys/unix/syscall_linux_arm64.go
D vendor/golang.org/x/sys/unix/syscall_linux_gc.go
D vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go
D vendor/golang.org/x/sys/unix/syscall_linux_gccgo_386.go
D vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go
D vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go
D vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go
D vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go
D vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
D vendor/golang.org/x/sys/unix/syscall_linux_s390x.go
D vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
D vendor/golang.org/x/sys/unix/syscall_netbsd.go
D vendor/golang.org/x/sys/unix/syscall_netbsd_386.go
D vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go
D vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go
D vendor/golang.org/x/sys/unix/syscall_openbsd.go
D vendor/golang.org/x/sys/unix/syscall_openbsd_386.go
D vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go
D vendor/golang.org/x/sys/unix/syscall_openbsd_arm.go
D vendor/golang.org/x/sys/unix/syscall_solaris.go
D vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go
D vendor/golang.org/x/sys/unix/syscall_unix.go
D vendor/golang.org/x/sys/unix/syscall_unix_gc.go
D vendor/golang.org/x/sys/unix/timestruct.go
D vendor/golang.org/x/sys/unix/types_aix.go
D vendor/golang.org/x/sys/unix/types_darwin.go
D vendor/golang.org/x/sys/unix/types_dragonfly.go
D vendor/golang.org/x/sys/unix/types_freebsd.go
D vendor/golang.org/x/sys/unix/types_netbsd.go
D vendor/golang.org/x/sys/unix/types_openbsd.go
D vendor/golang.org/x/sys/unix/types_solaris.go
D vendor/golang.org/x/sys/unix/xattr_bsd.go
D vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go
D vendor/golang.org/x/sys/unix/zerrors_aix_ppc64.go
D vendor/golang.org/x/sys/unix/zerrors_darwin_386.go
D vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go
D vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go
D vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go
D vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go
D vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go
D vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go
D vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go
D vendor/golang.org/x/sys/unix/zerrors_linux_386.go
D vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go
D vendor/golang.org/x/sys/unix/zerrors_linux_arm.go
D vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go
D vendor/golang.org/x/sys/unix/zerrors_linux_mips.go
D vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go
D vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go
D vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go
D vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go
D vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go
D vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go
D vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go
D vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go
D vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go
D vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go
D vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go
D vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go
D vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go
D vendor/golang.org/x/sys/unix/zerrors_openbsd_arm.go
D vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go
D vendor/golang.org/x/sys/unix/zptrace386_linux.go
D vendor/golang.org/x/sys/unix/zptracearm_linux.go
D vendor/golang.org/x/sys/unix/zptracemips_linux.go
D vendor/golang.org/x/sys/unix/zptracemipsle_linux.go
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go
D vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go
D vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go
D vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
D vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go
D vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
D vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go
D vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_386.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go
D vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go
D vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go
D vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go
D vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_386.go
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go
D vendor/golang.org/x/sys/unix/zsysctl_openbsd_arm.go
D vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go
D vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go
D vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go
D vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go
D vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go
D vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_386.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go
D vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go
D vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go
D vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go
D vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go
D vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go
D vendor/golang.org/x/sys/unix/ztypes_darwin_386.go
D vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go
D vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go
D vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go
D vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go
D vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go
D vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go
D vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go
D vendor/golang.org/x/sys/unix/ztypes_linux_386.go
D vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go
D vendor/golang.org/x/sys/unix/ztypes_linux_arm.go
D vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go
D vendor/golang.org/x/sys/unix/ztypes_linux_mips.go
D vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
D vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go
D vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
D vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go
D vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
D vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go
D vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go
D vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go
D vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go
D vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go
D vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go
D vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go
D vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go
D vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
D vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
This diff is too large to display. Try viewing the raw diff instead.