Vfly Script -fly — Script---

func fetch_and_sum(url string) int resp = http.get(url, timeout: 2_000) if resp.status != 200 return -1

vfly run script.vfly --allow-net=api.example.com:443 --allow-read=/tmp Logs are automatically emitted as JSON with trace IDs, making them compatible with Loki, DataDog, or Splunk. Vfly Script -Fly Script---

data = json.decode(resp.body) total = 0 for num in data.numbers total += num func fetch_and_sum(url string) int resp = http