oficina / meet Public
| 1 | package main |
| 2 | |
| 3 | import ( |
| 4 | "amadan.net/oficina/calls/internal/calls" |
| 5 | "encoding/json" |
| 6 | "os" |
| 7 | ) |
| 8 | |
| 9 | func main() { |
| 10 | ops, err := calls.AgentContracts() |
| 11 | if err != nil { |
| 12 | os.Exit(1) |
| 13 | } |
| 14 | if json.NewEncoder(os.Stdout).Encode(ops) != nil { |
| 15 | os.Exit(1) |
| 16 | } |
| 17 | } |
| 18 |