Skip to content
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

Update Go Components page - to align with 2.1.0 #1128

Merged
merged 4 commits into from
Jan 8, 2024
Merged

Conversation

tpmccallum
Copy link
Contributor

Signed-off-by: tpmccallum tim.mccallum@fermyon.com

Content must go through a pre-merge checklist.

Pre-Merge Content Checklist

This documentation has been checked to ensure that:

  • The title, template, and date` are all set
  • Does this PR have a new menu item (anywhere in templates/*.hbs files) that points to a document .md that is set to publish in the future? If so please only publish the .md and .hbs changes in real-time (otherwise there will be a menu item pointing to a .md file that does not exist)
  • File does not use CRLF, but uses plain LF (hint: use cat -ve <filename> | grep '^M' | wc -l and expect 0 as a result)
  • Has passed bart check
  • Has been manually tested by running in Spin/Bartholomew (hint: use PREVIEW_MODE=1 and run npm run styles to update styling)
  • Headings are using Title Case
  • Code blocks have the programming language set to properly highlight syntax and the proper copy directive
  • Have tested with npm run test and resolved all errors
  • Relates to an existing (potentially outdated) blog article? If so please add URL in blog to point to this content.

Signed-off-by: tpmccallum tim.mccallum@fermyon.com

Signed-off-by: Timothy McCallum <tim.mccallum@fermyon.com>
Copy link

github-actions bot commented Jan 8, 2024

🚀 preview deployed successfully to Fermyon Cloud and available at https://fermyon-developer-pr-1128-vf9sqdzp.fermyon.app

@tpmccallum
Copy link
Contributor Author

@@ -157,12 +184,9 @@ now receive requests in route `/hello`:
<!-- @selectiveCpy -->

```bash
$ curl -i localhost:3000/hello
$ curl -i localhost:3000
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This no longer matches the manifest (I don't know whether you want to change the route in the manifest or restore it here, but if the former then line 182 will also need a change).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, thank you.
I have updated the curl command to make the request to the correct endpoint.

Signed-off-by: tpmccallum tim.mccallum@fermyon.com

Signed-off-by: Timothy McCallum <tim.mccallum@fermyon.com>
@tpmccallum tpmccallum requested a review from itowlson January 8, 2024 02:03
Copy link
Contributor

@itowlson itowlson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Little nit that I missed before (sorry) but LGTM!

content/spin/v2/go-components.md Outdated Show resolved Hide resolved
content/spin/v2/go-components.md Outdated Show resolved Hide resolved
Timothy McCallum and others added 2 commits January 8, 2024 15:24
Signed-off-by: tpmccallum tim.mccallum@fermyon.com

Co-authored-by: itowlson <ivan.towlson@fermyon.com>
Signed-off-by: Timothy McCallum <tim.mccallum@fermyon.com>
Signed-off-by: tpmccallum tim.mccallum@fermyon.com

Co-authored-by: itowlson <ivan.towlson@fermyon.com>
Signed-off-by: Timothy McCallum <tim.mccallum@fermyon.com>
@tpmccallum tpmccallum merged commit 70c4c38 into main Jan 8, 2024
3 checks passed
@tpmccallum tpmccallum deleted the tpmccallum-patch-24 branch April 16, 2024 05:06
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.

2 participants