summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/examples.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/examples.go b/examples/examples.go
index 1a1df0b..2168a40 100644
--- a/examples/examples.go
+++ b/examples/examples.go
@@ -4,8 +4,7 @@ import (
"os"
. "codeberg.org/snonux/gonf/api"
- . "codeberg.org/snonux/gonf/api/option"
- "codeberg.org/snonux/gonf/internal/resource"
+ . "codeberg.org/snonux/gonf/api/options"
)
func Run() error {
@@ -68,5 +67,5 @@ func Run() error {
_ = os.Link("/tmp/gonf_hello.txt", "/tmp/gonf_stale_hardlink")
Link("/tmp/gonf_stale_hardlink", IsAbsent())
- return resource.Apply()
+ return Apply()
}