Skip to content

Add Go hello world verification example#100

Open
sureshchouksey8 wants to merge 2 commits into
aporthq:mainfrom
sureshchouksey8:aport-hello-world-go
Open

Add Go hello world verification example#100
sureshchouksey8 wants to merge 2 commits into
aporthq:mainfrom
sureshchouksey8:aport-hello-world-go

Conversation

@sureshchouksey8
Copy link
Copy Markdown

Summary

  • Add a minimal examples/hello-world/go example using only Go standard library packages.
  • Call APort's /api/verify/policy/{policy} endpoint and print the allow decision plus any returned reasons.
  • Document environment variables and run instructions.

Verification

  • Reviewed for standard-library-only Go implementation.
  • git diff --check
  • Go toolchain is not installed in this Codex environment, so I could not run go run main.go locally.

/claim #27

Copy link
Copy Markdown
Author

This is ready for review. It adds the requested Go hello-world verification example under examples/hello-world/go with a README and a minimal runnable program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant