Go plugins and Lua plugins priority queue

I read that in Lua u can have a priority queue for your plugins, how can i do that in go? i know that u have methods like access, Certificate and more so, how i know which plugins is executing first?