providers/import: Need a better way to include components #13
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The current way to do it is:
This is okay under most circumstances, but wordy, and we cannot pass a relative path (very important!) etc.
Since a slice (can be any kind, we have the power of reflection at our disposal) is probably the easiest thing for a component to accept, we should have a new function that takes in a path to the component, and a vararg list of arguments. We should also expose Document.Rel somehow, but with a very consice name. Can't conflict with the sprig functions, though.