feat: add goreleaser

This commit is contained in:
Simon Ding
2024-09-29 14:27:01 +08:00
parent ce25c090f5
commit 5d726dbcf1
25 changed files with 2192 additions and 48 deletions

16
pkg/utils/other.go Normal file
View File

@@ -0,0 +1,16 @@
//go:build !linux
// +build !linux
package utils
import (
"math"
)
func AvailableSpace(dir string) uint64 {
return math.MaxUint64
}
func MaxPermission() {
return
}