From 65f48f93e66ebaadbc444dc8a6dfd0b8d8f3be62 Mon Sep 17 00:00:00 2001 From: Rintaro Okamura Date: Fri, 4 Jun 2021 16:13:18 +0900 Subject: [PATCH] [patch] :memo: Add comments Signed-off-by: Rintaro Okamura --- README.md | 2 +- examples/config/config.lua | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c57a93f..a0e5772 100644 --- a/README.md +++ b/README.md @@ -186,7 +186,7 @@ To enable them, run alvd server by passing a path to the Lua scripts. $ ./alvd server --config=examples/interceptors/sort.lua -There're various types of examples of interceptors are available in [examples/interceptors](examples/interceptors) directory. +There're various types of examples of interceptors are available in [examples/interceptors](examples/interceptors) directory and [examples/config/config.lua](examples/config/config.lua). This feature is powered by [yuin/gopher-lua](https://github.com/yuin/gopher-lua) and [vadv/gopher-lua-libs](https://github.com/vadv/gopher-lua-libs). diff --git a/examples/config/config.lua b/examples/config/config.lua index bad27c1..b7c54a1 100644 --- a/examples/config/config.lua +++ b/examples/config/config.lua @@ -1,3 +1,5 @@ +-- modules in gopher-lua-libs are available in Lua scripts. +-- https://github.com/vadv/gopher-lua-libs local json = require("json") local time = require("time")