Skip to content
Sections
>> Trisquel >> パッケージ >> aramo >> devel >> golang-layeh-gopher-luar-dev
nabia  ] [  aramo  ]
[ ソース: golang-layeh-gopher-luar  ]

パッケージ: golang-layeh-gopher-luar-dev (1.0.4-1.1)

Simplifies data passing between Go and GopherLua

A gopher-luar simplifies data passing to and from GopherLua.

This package provides the library for converting and passing the data types between Go and GopherLua.

Go type values are converted to GopherLua type:

 * Boolean values are converted to lua.LBool.
 * Numeric values are converted to lua.LNumber.
 * String values are converted to lua.LString.
 * A nil value is converted to lua.LNil.
 * Functions are converted to *lua.LFunction.
 * Arrays, channels, maps, pointers, slices, and structs are all
   converted to *lua.LUserData.

GopherLua type values are converted to Go type:

 * lua.LBool values are converted to bool.
 * lua.LNumber values are converted to float64.
 * lua.LString values are converted to string.
 * lua.LNil can be converted to any channel, func, interface, map,
   pointer, slice, unsafe pointer, or uintptr value.

その他の golang-layeh-gopher-luar-dev 関連パッケージ

  • 依存
  • 推奨
  • 提案

golang-layeh-gopher-luar-dev のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 17.9 kB95 kB [ファイル一覧]