Author ? I want to know go-lua how to support lua-socket??
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 8/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- networking
Direzione di ricerca
The payload names no go-lua file or test. The only code shown is a C++ base_open function that registers the lua-socket namespace with luaL_setfuncs. Start by checking whether go-lua exposes a way to register Go functions as Lua modules, and whether any socket support exists. Done would be a maintainer answer on whether lua-socket is supported, with a path for a Go-side equivalent. The thread has gone without comment for about 924 days, so expect no reply.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I rewrite a project from c++ to golang.
Issue :
it use lua-socket in cpp and i use go-lua in go...
I want to know go-lua is or not support lua-socket??
C++ code:
static int base_open(lua_State *L) {
if (socket_open()) {
/* export functions (and leave namespace table on top of stack) */
lua_newtable(L);
luaL_setfuncs(L, func, 0);
#ifdef LUASOCKET_DEBUG
lua_pushstring(L, "_DEBUG");
lua_pushboolean(L, 1);
lua_rawset(L, -3);
#endif
/* make version string available to scripts */
lua_pushstring(L, "_VERSION");
lua_pushstring(L, LUASOCKET_VERSION);
lua_rawset(L, -3);
return 1;
} else {
lua_pushstring(L, "unable to initialize library");
lua_error(L);
return 0;
}
}
- Lingua principale
- Go
- Stelle
- 3.5k
- Fork
- 217
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Shopify/go-lua
-
Numeric modulo fast path disagrees with Lua 5.2 and the library fallback for negative operandsForse già presa @efegokdemir l’ha presa 35 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
io.write discards spaces after trailing numbersForse già presa @flynn-eye l’ha presa 25 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
State.close leaves closed upvalues in the open list, so calls get slower without boundForse già presa @efegokdemir l’ha presa 17 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Tutte le issue di Shopify/go-lua
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
limitlessprojects/Go-Hybrid#4764 ·
I maintainer di solito rispondono entro 1 giorno
-
[bug]: lint fails on main, generated CLI docs out of dateForse già presa @bupd l’ha presa oggi. Apertabug documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
goharbor/harbor-cli#1180 ·
I maintainer di solito rispondono entro 1 giorno
-
crane: mutate --env adds duplicate PATH on Windows images when key case differsForse già presa @aad1tyaaaaa l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
google/go-containerregistry#2523 ·
I maintainer di solito rispondono entro 4 giorni
-
bosh_io_stemcell_type: regular does not work for noble and resolute as it adds -go_agent as suffixAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
cloudfoundry/bosh-deployment-resource#138 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100