Giter VIP home page Giter VIP logo

gofi's Issues

ubuntu 18.04 搭建失败

本地Ubuntu18.04 build 成功,启动之后 打开页面提示一个 undefined 错误,页面空白

运行提示 -bash: ./gofi-linux-arm-5: 没有那个文件或目录

root@nas:~# arch
aarch64
root@nas:~# getconf LONG_BIT
64
root@nas:~# ll
总用量 38232
-rwxr-xr-x 1 root root 19574664 2月  12 20:10 gofi
-rwxr-xr-x 1 root root 19574664 2月  12 20:10 gofi-linux-arm-5
root@nas:~# ./gofi
-bash: ./gofi: 没有那个文件或目录
root@nas:~# ./gofi-linux-arm-5
-bash: ./gofi-linux-arm-5: 没有那个文件或目录

很郁闷啊

请提供交叉编译指南

尊敬的开发者:

您好

我是开源项目SCRIPTS-BOOTLOADER-FOR-ASUS-ROUTER的开发者。当前,此项目软件库使用filebrowser作为网盘插件。不幸的是,项目filebrowser已于20200109宣告结束。我觉得您的项目很适合引入我的项目作为网盘插件,原因有三:

  1. GO语言编写,便于跨平台
  2. 单文件,无需外部依赖,部署简单
  3. 功能可以满足个人日常使用

但是,我在尝试引入您的项目时,遇到了几个困难,希望您可以提供帮助:

  1. 项目使用了CGO,导致无法单纯使用GO直接编译,需要搭建相应的C交叉编译环境。请您提供交叉编译指南
  2. 如方便,请提供linux-armv5, linux-mipsle-softfloat和linux-arm64的静态预编译版本

非常感谢

求win7编译版

不懂go,可以提供win7/winserver2008的二进制文件吗,windows通用的也可以,谢谢。

为什么要把orm替换成ent呢?

了解了一下ent,写起来确实特方便;
但是为什么要换呢?

ent的表有 edge的时候,把主表和edge的数据一起查询回来的数据格式有点难受,
他是在主表增加了个 edge字段,然后把关联表的数据都放到了edge下面。

Error: network error

-ip 公网地址
腾讯云 debian11 服务成功开启,上传文件显示网络错误

how to add a new language file in both front-end and back-end ?

I add a language file in Gofi/gofi-frontend/src/i18n , and Gofi/gofi-backend/i18n
but when I try to go build , there's some error like

2021-11-11 10:29:08 [changch@hqdc034 gofi-backend]$ go build 
go: downloading github.com/aviddiviner/gin-limit v0.0.0-20170918012823-43b5f79762c1
go: downloading github.com/gin-gonic/gin v1.7.4
go: downloading github.com/golang-jwt/jwt/v4 v4.0.0
go: downloading github.com/go-xorm/xorm v0.7.9
go: downloading github.com/mattn/go-sqlite3 v2.0.3+incompatible
go: downloading golang.org/x/text v0.3.7
go: downloading golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf
go: downloading github.com/gabriel-vasile/mimetype v1.3.1
go: downloading golang.org/x/tools v0.1.5
go: downloading xorm.io/builder v0.3.9
go: downloading xorm.io/core v0.7.3
go: downloading github.com/mattn/go-isatty v0.0.13
go: downloading github.com/go-playground/validator/v10 v10.9.0
go: downloading google.golang.org/protobuf v1.27.1
go: downloading golang.org/x/net v0.0.0-20210505024714-0287a6fb4125
go: downloading github.com/go-playground/universal-translator v0.18.0
go: downloading golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
go: downloading github.com/leodido/go-urn v1.2.1
go: downloading github.com/go-playground/locales v0.14.0
main.go:17:12: pattern dist/*: no matching files found

any suggestions ?

or is there any documents to explain how to do localization ?

1.1.0-feature

The following features are tentatively determined, there will be many breaking changes:

  • Instead of iris with gin (this feature is a reconstruction requirement and has been finished and pushed to the master branch)
  • Support for file breakpoint transfer
  • File search (files need to be indexed, this feature may take a lot of development time)
  • File-related operations enhancement (File Delete, Multi-file operations)
  • Better docker support
  • Better documentation (Deploy gofi in nas docker)
  • Support more configurable parameters for command line
  • Use facebook/ent to instead of xorm
  • Make gofi fully configurable via configuration files
  • Remove ip argument for gofi command (⚠️ breaking change)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.