This is a proof of concept showing how it can be possible to connect a SvelteKit frontend to a Go backend using remote functions.
bun install
bun run go ;start go server
bun run dev
Prefix your go function with Query, Form, or Command to indicate its type. For example:- QueryTodos
FormCreateTodoCommandDeleteTodoQueryTodoByIDCommandUpdateTodoThis is a POC, feel free to contribute to make it better.