samples
samples copied to clipboard
An open source project for beego sample applications.
$ curl -X MKCOL http://127.0.0.1:8080/test % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 19 100 19 0 0 19...
i had ran the chatroom example on my local machine, however, when user closed the tab on browser, the handler just crashed with the following logs: `[panic.go:838] the request url...
» bee run _____ | ___ \ | |_/ / ___ ___ | ___ \ / _ \ / _ \ | |_/ /| __/| __/ \____/ \___| \___| v2.0.2...
我没有找到在什么时候调用chatroom.go中的init()函数,那么聊天室是在什么时候创建的呢???
我改了一下routers包的地址 改为github.com/beego/samples/tree/master/WebIM/routers 发现还是不好使 问一下大佬们该如何解决
有消息的时候,给等待队列通道发送true,使其停止堵塞,原文件循环等待队列并清除队列元素写法错误,导致等待队列只循环一次便结束,无法让所有的等待队列结束堵塞状态
一个空的文件夹
`$ go get github.com/gorilla/websocket` `$ go get github.com/beego/i18n` 执行完这两条指令后目录仍是空的,什么都没有,请问这是怎么回事儿啊?
https://github.com/beego/samples/blob/1c696ee4905b2b12edf7d7dc451220bc838c1296/shorturl/models/model.go#L40
Hello, I am new to Beego and I'm really enjoying the framework, I was wondering if it was possible to include a sample that had a database back-end. There are...