add minio and file upload

This commit is contained in:
2026-07-08 18:42:08 +05:00
parent be3dc28e68
commit d6555e1133
364 changed files with 137053 additions and 22 deletions

13
vendor/github.com/rs/xid/hostid_linux.go generated vendored Normal file
View File

@@ -0,0 +1,13 @@
// +build linux
package xid
import "io/ioutil"
func readPlatformMachineID() (string, error) {
b, err := ioutil.ReadFile("/etc/machine-id")
if err != nil || len(b) == 0 {
b, err = ioutil.ReadFile("/sys/class/dmi/id/product_uuid")
}
return string(b), err
}