I recently started using
github.com/yuin/gopher-lua for a project to allow users to add filtering criteria that would be highly-specific to a user, but I would never consider using it for implementing a general-purpose plugin.
Using Lua to develop plugins in Go would be ideal IMO. It is not performant like Go, not type-safe like Go, debugging embedded Lua code is difficult compared to working with Delve and Go, and you will have to ship plugin source code, or embed and write to a possibly hidden directory.
For real-world plugins I'd say stick with Hashicorp's
go-plugin or similar as others have recommended, and then only fall back to Lua when you want to allow end-users who are not Go developers to extend your app in small ways. #jmtcw #fwiw
-Mike
P.S. You could also use
JavaScript instead of Lua, and most people are likely more familiar with that. I chose not to use a JavaScript package as I wanted something significantly lighter weight than JS. OTOH, I am seriously considering switching out Lua and moving to
github.com/antonmedv/expr for my use-case as it is even lighter weight still.