diff options
| author | Paul Buetow <paul@buetow.org> | 2026-07-06 23:05:48 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-07-06 23:05:48 +0300 |
| commit | 5600bedb927e291e2e78e6140de256e1a1d4475c (patch) | |
| tree | af19c6b484135afed332a8e3fcda7e8ded5ac4b8 /examples | |
| parent | f7498c9ae626b9ab654fe6eb736e19c62cf5d38d (diff) | |
refactor
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/examples.go | 5 |
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() } |
