# How to set priority for Go based kong custom Plugin?

**URL:** https://discuss.konghq.com/t/how-to-set-priority-for-go-based-kong-custom-plugin/6780
**Category:** Questions
**Created:** [July 24, 2020, 5:49pm UTC](https://discuss.konghq.com/t/how-to-set-priority-for-go-based-kong-custom-plugin/6780 "2020-07-24T17:49:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![on\_fla](https://avatars.discourse-cdn.com/v4/letter/o/51bf81/32.png) [@on\_fla](https://discuss.konghq.com/u/on_fla)
#### Post date: [July 24, 2020, 5:49pm UTC](https://discuss.konghq.com/t/how-to-set-priority-for-go-based-kong-custom-plugin/6780/1 "2020-07-24T17:49:42Z")

</div>

I am aware of how to set priority in Lua plugins. However, I did not find any documentation regarding plugin priority for Golang based plugins.  
Is it not supported in go yet? Is there any workaround?  
Thanks.

---

<div class="post-metadata">

### Author: ![on\_fla](https://avatars.discourse-cdn.com/v4/letter/o/51bf81/32.png) [@on\_fla](https://discuss.konghq.com/u/on_fla)
#### Post date: [August 6, 2020, 3:16am UTC](https://discuss.konghq.com/t/how-to-set-priority-for-go-based-kong-custom-plugin/6780/2 "2020-08-06T03:16:55Z")

</div>

set as variable in go plugin as below:

var Priority int = some number
