Giter VIP home page Giter VIP logo

Comments (5)

eddycjy avatar eddycjy commented on May 10, 2024 1

@lauyang 感谢反馈,这块的确是我疏漏了。因为并没有打算适配两者系统。我已经把启动代码修改为提示用法了,可留意新的代码(提示)修改:ad2b0d2

from go-gin-example.

eddycjy avatar eddycjy commented on May 10, 2024

您好 @zanjs ,我刚刚重新尝试了一下程序,是正常运行的

另外您的报错是 fvbock\endless\endless.go:64:3: undefined: syscall.* 这类,是因为 syscall 内指定的变量取决于操作系统的,endless 是不支持 Windows 操作系统的,你可以自检一下 🤔

from go-gin-example.

zanjs avatar zanjs commented on May 10, 2024

@eddycjy 不支持 window 操作系统 拿怎么办 😭

from go-gin-example.

eddycjy avatar eddycjy commented on May 10, 2024

@zanjs 这几天我找时间做个兼容判断让 Windows 也能运行起来吧 😳

不过 endless 这种方案一般都以 Unix 系统为蓝本进行编写的,毕竟最终生产环境不会是 Windows 系统

from go-gin-example.

lauyang avatar lauyang commented on May 10, 2024

这个判断感觉也不行,endless 这个包 的init 会去调用 syscall ,main 里引了这个包,就肯定会报错

from go-gin-example.

Related Issues (20)

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.