fumin / ctw

Context Tree Weighting
BSD 3-Clause "New" or "Revised" License
16 stars 4 forks source link

[go] use go modules #3

Closed zouzias closed 2 years ago

zouzias commented 2 years ago

Small fix to support go modules.

Issue before fix

go run compress/main.go gettysburg.txt > gettys.ctw
compress/main.go:9:2: no required module provides package github.com/fumin/ctw: go.mod file not found in current directory or any parent directory; see 'go help modules

Btw, many thanks for sharing your CTW implementation.

fumin commented 2 years ago

Thanks for the fix!