# Different between lua with ts and Go

**URL:** <https://forum.heroiclabs.com/t/different-between-lua-with-ts-and-go/2982>\
**Category:** Runtime Framework\
**Tags:** server-framework, typescript\
**Created:** [August 30, 2022, 4:58pm UTC](https://forum.heroiclabs.com/t/different-between-lua-with-ts-and-go/2982 "2022-08-30T16:58:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsonberg215](https://avatars.discourse-cdn.com/v4/letter/j/7cd45c/32.png) [@jsonberg215](https://forum.heroiclabs.com/u/jsonberg215)\
**Post date:** [August 30, 2022, 4:58pm UTC](https://forum.heroiclabs.com/t/different-between-lua-with-ts-and-go/2982/1 "2022-08-30T16:58:57Z")

</div>

Hi,  
in Go and ts we have some functions like "registerBeforeGetAccount " ,“registerAfterGetAccount” and alot of before after functions , in lua we have not any of those  
1.Is there any way to accese before after funcions in lua?

i hate docker so much (for using alot of resources! ram cpu etc…) ,  
(nakama is complex pls add more tutorial for compile it without docker and explain all of those before after functions . in namaka there is no help commet in code and no help in documents)

I want to compile my ts function without using docker and export  
nakama sorurce and ts funtions to windows server program and linux server program  
2.How can i export/compile those together to exe and linux?

Appreciate any help

```auto

```

---

<div class="post-metadata">

**Author:** ![tom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/tom/32/676_2.png) [@tom](https://forum.heroiclabs.com/u/tom)\
**Post date:** [August 31, 2022, 9:40am UTC](https://forum.heroiclabs.com/t/different-between-lua-with-ts-and-go/2982/2 "2022-08-31T09:40:13Z")

</div>

Hi @jsonberg215,

[Before and After Hooks are supported in the Lua runtime](https://heroiclabs.com/docs/nakama/server-framework/introduction/#hooks) as documented in our [Nakama Documentation](https://heroiclabs.com/docs/nakama/getting-started/index.html).

If you are having difficulty navigating or finding information in our documentation please do let us know so that we can improve it going forward.
