-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missing error handling chore: clean up of go.mod
- Loading branch information
Showing
5 changed files
with
18 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
*.tgz | ||
*.zip | ||
/main | ||
go.work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
#!/usr/bin/env fish | ||
|
||
set gofile cmd/rfm/main.go | ||
set out rfm | ||
set -l gofile cmd/rfm/main.go | ||
set -l out rfm | ||
|
||
env GOOS=linux GOARCH=arm go build -o $out $gofile | ||
env GOOS=linux GOARCH=arm go build -tags netgo -o $out $gofile | ||
and tar czf $out-linux_arm.tgz $out LICENSE | ||
|
||
env GOOS=linux GOARCH=arm64 go build -o $out $gofile | ||
env GOOS=linux GOARCH=arm64 go build -tags netgo -o $out $gofile | ||
and tar czf $out-linux_arm64.tgz $out LICENSE | ||
|
||
env GOOS=windows go build -o $out.exe $gofile | ||
env GOOS=windows go build -tags netgo -o $out.exe $gofile | ||
and zip -r $out-windows_amd64.zip $out.exe LICENSE | ||
|
||
env GOOS=darwin go build -o $out $gofile | ||
env GOOS=darwin go build -tags netgo -o $out $gofile | ||
and tar czf $out-darwin_amd64.tgz $out LICENSE | ||
|
||
env GOOS=linux go build -o $out $gofile | ||
env GOOS=linux go build -tags netgo -o $out $gofile | ||
and tar czf $out-linux_amd64.tgz $out LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
module github.com/wilriker/rfm | ||
|
||
go 1.12 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/kr/pretty v0.1.0 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 | ||
github.com/pelletier/go-toml v1.4.0 | ||
github.com/wilriker/librfm v1.0.1 | ||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect | ||
github.com/pelletier/go-toml v1.9.5 | ||
github.com/wilriker/librfm v1.0.3 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,6 @@ | ||
github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= | ||
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= | ||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= | ||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI= | ||
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= | ||
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= | ||
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE= | ||
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= | ||
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= | ||
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= | ||
github.com/pelletier/go-toml v1.4.0 h1:u3Z1r+oOXJIkxqw34zVhyPgjBsm6X2wn21NWs/HfSeg= | ||
github.com/pelletier/go-toml v1.4.0/go.mod h1:PN7xzY2wHTK0K9p34ErDQMlFxa51Fk0OUruD3k1mMwo= | ||
github.com/wilriker/librfm v1.0.0 h1:3YcG6iL1dJNLcD/rNXeF1DPkBfeB2TgTlt7fiNQ/d2U= | ||
github.com/wilriker/librfm v1.0.0/go.mod h1:Gfm/qINcC5vIexqk/HRCMpEDTrXe1AaEB3Gje9TR/pM= | ||
github.com/wilriker/librfm v1.0.1-0.20191016114846-6e08e621e9cd h1:2bL5xs73hDpzpxZl0fTkEIii1IsG5Rr5+rN9dFmOyY0= | ||
github.com/wilriker/librfm v1.0.1-0.20191016114846-6e08e621e9cd/go.mod h1:Gfm/qINcC5vIexqk/HRCMpEDTrXe1AaEB3Gje9TR/pM= | ||
github.com/wilriker/librfm v1.0.1-0.20191016122526-e2c5e7656a9a h1:GLZNPfzU4GmHjIp25SMFVnTvDDOMca4J1CH6wpNay1c= | ||
github.com/wilriker/librfm v1.0.1-0.20191016122526-e2c5e7656a9a/go.mod h1:Gfm/qINcC5vIexqk/HRCMpEDTrXe1AaEB3Gje9TR/pM= | ||
github.com/wilriker/librfm v1.0.1 h1:HcskaDsX2vf0PMWKdSkFjAZR6UDS+7uzqFSbiKpgrgs= | ||
github.com/wilriker/librfm v1.0.1/go.mod h1:Gfm/qINcC5vIexqk/HRCMpEDTrXe1AaEB3Gje9TR/pM= | ||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= | ||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= | ||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= | ||
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= | ||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= | ||
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8= | ||
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c= | ||
github.com/wilriker/librfm v1.0.3 h1:GBYtjzyqoweUGc9hUbjmp9gjUwThmxgHHXv7OEl5pmM= | ||
github.com/wilriker/librfm v1.0.3/go.mod h1:usX4O2TUX4sLAldxdBOsxRUdAr/uKEM9viQ/ssAAHtw= |