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 a numCPU function similar to OS and ARCH #1887

Closed
andreynering opened this issue Oct 28, 2024 · 1 comment · Fixed by #1890
Closed

Add a numCPU function similar to OS and ARCH #1887

andreynering opened this issue Oct 28, 2024 · 1 comment · Fixed by #1890
Labels
area: templating Changes related to the templating engine. good first issue Issues that are good for first-time contributors to pick up.

Comments

@andreynering
Copy link
Member

andreynering commented Oct 28, 2024

Idea came from this Discord thread.

The function should return the result of runtime.NumCPU().

Remember to update this table on the documentation.

@andreynering andreynering added type: enhancement good first issue Issues that are good for first-time contributors to pick up. area: templating Changes related to the templating engine. labels Oct 28, 2024
@Amoghrd
Copy link
Contributor

Amoghrd commented Oct 28, 2024

Hey,
I have opened the above PR for this issue. PTAL and let me know if any changes are required. TIA!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: templating Changes related to the templating engine. good first issue Issues that are good for first-time contributors to pick up.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants