go

module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2025 License: MIT

README

primate-run/go

Primate Go integration.

Packages

  • github.com/primate-run/go/core Shared types (Request, Body, Kind) + JS/WASM bridge methods.

  • github.com/primate-run/go/route Route verbs: route.Post, route.Get

Usage

package main

import "github.com/primate-run/go/route"

var _ = route.Post(func(request route.Request) any {
  s, _ := request.Body.Text()
  return s
})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL