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

add template for cron jobs creation (issue 49) #118

Merged
merged 2 commits into from
Jun 26, 2024
Merged

add template for cron jobs creation (issue 49) #118

merged 2 commits into from
Jun 26, 2024

Conversation

vhespanha
Copy link

Add Cron Job Template for Cloudflare Workers with Go and TinyGo

Overview

This pull request introduces a new template for creating Cloudflare Worker projects with cron jobs using both Go and TinyGo. As suggested in this issue

Changes

  • New Template: Added a new template for cron jobs located at github.com/syumai/workers/_templates/cloudflare/cron-go and github.com/syumai/workers/_templates/cloudflare/cron-tiny-go.
  • Source Code: Included a small example of a cron job in main.go similar to the one provided in the _examples directory.
  • README.md: Updated the README to provide clear instructions on how to use the new cron job template, including setup, requirements, and dev server testing for both templates.

This is my first pull request, and I am open to feedback. If there are any improvements or additional changes needed, please let me know. I am also willing to create another PR to update the repository's main README to include references to the new templates.

@vhespanha vhespanha marked this pull request as ready for review June 26, 2024 14:28
Copy link
Owner

@syumai syumai left a comment

Choose a reason for hiding this comment

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

Thanks!

@syumai syumai merged commit e5ed933 into syumai:main Jun 26, 2024
2 checks passed
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