Skip to content

Commit b31fd44

Browse files
captainenhancementagladysh
authored andcommitted
lua-guidelines.md: cache module
1 parent 7a46717 commit b31fd44

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lua-guidelines.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,11 @@ need_*, should_*, must_*, in_*, not_*`` и т.п.
778778

779779
## Модули
780780

781-
**TODO**
781+
Импортируемые модули следует кешировать локально.
782+
783+
Пример:
784+
785+
local socket = require 'socket'
782786

783787
## Разделение кода на файлы
784788

0 commit comments

Comments
 (0)