From 3278a0154d2b35fa3cdf2023fbd01375146c8bce Mon Sep 17 00:00:00 2001 From: Matthew Rich Date: Fri, 22 Mar 2024 10:39:06 -0700 Subject: [PATCH] update comments --- internal/resource/container.go | 4 ++++ internal/resource/declaration.go | 2 ++ internal/resource/document.go | 2 ++ internal/resource/file.go | 3 +++ internal/resource/os.go | 2 ++ internal/resource/resource.go | 2 ++ internal/resource/types.go | 2 ++ internal/resource/user.go | 2 ++ 8 files changed, 19 insertions(+) diff --git a/internal/resource/container.go b/internal/resource/container.go index 2c593cf..8ada971 100644 --- a/internal/resource/container.go +++ b/internal/resource/container.go @@ -1,4 +1,8 @@ // Copyright 2024 Matthew Rich . All rights reserved. + + + +// Container resource package resource import ( diff --git a/internal/resource/declaration.go b/internal/resource/declaration.go index 1dac5b4..cf3bd42 100644 --- a/internal/resource/declaration.go +++ b/internal/resource/declaration.go @@ -1,4 +1,6 @@ // Copyright 2024 Matthew Rich . All rights reserved. + +// package resource import ( diff --git a/internal/resource/document.go b/internal/resource/document.go index ae60e2a..3c27245 100644 --- a/internal/resource/document.go +++ b/internal/resource/document.go @@ -1,4 +1,6 @@ // Copyright 2024 Matthew Rich . All rights reserved. + +// package resource import ( diff --git a/internal/resource/file.go b/internal/resource/file.go index b92adfe..66e0ea8 100644 --- a/internal/resource/file.go +++ b/internal/resource/file.go @@ -1,4 +1,6 @@ // Copyright 2024 Matthew Rich . All rights reserved. + +// package resource import ( @@ -37,6 +39,7 @@ func init() { }) } +// Manage the state of file system objects type File struct { loader YamlLoader Path string `yaml:"path"` diff --git a/internal/resource/os.go b/internal/resource/os.go index 8557010..e1c413f 100644 --- a/internal/resource/os.go +++ b/internal/resource/os.go @@ -1,4 +1,6 @@ // Copyright 2024 Matthew Rich . All rights reserved. + +// package resource import ( diff --git a/internal/resource/resource.go b/internal/resource/resource.go index 74ca252..3230004 100644 --- a/internal/resource/resource.go +++ b/internal/resource/resource.go @@ -1,4 +1,6 @@ // Copyright 2024 Matthew Rich . All rights reserved. + +// The resource package handles CRUD operations on resources and YAML (de)serialization package resource import ( diff --git a/internal/resource/types.go b/internal/resource/types.go index a157fe7..d4df4d4 100644 --- a/internal/resource/types.go +++ b/internal/resource/types.go @@ -1,4 +1,6 @@ // Copyright 2024 Matthew Rich . All rights reserved. + +// package resource import ( diff --git a/internal/resource/user.go b/internal/resource/user.go index 0b1700a..2ed4ce3 100644 --- a/internal/resource/user.go +++ b/internal/resource/user.go @@ -1,4 +1,6 @@ // Copyright 2024 Matthew Rich . All rights reserved. + +// package resource import (