# Minimal TinyGo function starter

Suggested tree:

```text
_server_islands/example-go/
├── blinkhost.toml
├── go.mod
├── go.sum
└── main.go
```

`blinkhost.toml`:

```toml
language = "tinygo"
entrypoint = "main.go"
```

Design one bounded handler. Keep business logic behind small Go interfaces and implement database, secret and network access through declared BlinkHost bindings.

Before publishing:

- pin the supported TinyGo version and WASI target;
- commit `go.mod` and `go.sum`;
- verify every dependency against TinyGo language and standard-library support;
- remove cgo, subprocess, raw-socket and ambient-filesystem assumptions;
- test retry and idempotency behaviour; and
- let BlinkHost compile source through the managed toolchain.

See the current BlinkHost documentation for the exact SDK version and handler signature.
