It is not possible to build a Chrome extension in Go. Chrome extensions are built using web technologies such as HTML, CSS and JavaScript. However, you can use Go as a backend language to create the server-side logic of your Chrome extension.
To build a Chrome extension using web technologies, you can follow these steps:
231 chars13 lines
187 chars11 lines
index.tsx317 chars10 lines
28 chars4 lines
Your extension should now be loaded and ready to use.
To use Go in the backend of your Chrome extension, you can create a separate Go project that will handle the server-side logic of your extension. You can then communicate between your Chrome extension and your Go backend using HTTP requests or WebSockets.
gistlibby LogSnag