There are 2 repositories under switch-hosts topic.
Switch hosts quickly!
Change the hosts rules in Chrome. It's easy, and effect immediately.
hosts切换助手
一个用go开发的hosts切换桌面程序
Hosts Switch is created by wails. And it's an easy way to manage your hosts.
Simple host switcher