Skip to content

Examples: Adopt the structure used in hummingbird-examples #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2025

Conversation

euanh
Copy link
Collaborator

@euanh euanh commented Apr 14, 2025

Motivation

The official Hummingbird examples split the server into a main entry point file and a separate build function. Adopting the same structure makes this example more more familiar to users who are used to the official examples.

Modifications

Adopt the Hummingbird example structure for HelloWorldHummingbird

Result

The example works in the same way as before but has a more familiar structure for Hummingbird users.

Test Plan

All tests continue to pass.

@euanh euanh force-pushed the docs/hummingbird-example-structure branch from 0eb719d to 6dcab81 Compare April 14, 2025 08:33
@euanh euanh added area/documentation Improvements or additions to documentation semver/none No version bump required. area/testing Improvements to tests. labels Apr 14, 2025
@euanh euanh force-pushed the docs/hummingbird-example-structure branch from 6dcab81 to ef2bc82 Compare April 14, 2025 08:40
@euanh euanh merged commit bb69a22 into apple:main Apr 14, 2025
23 checks passed
@euanh euanh deleted the docs/hummingbird-example-structure branch April 14, 2025 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation area/testing Improvements to tests. semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant