Unexport functions

This commit is contained in:
2025-04-07 17:28:26 +03:00
parent 68291e2666
commit 9485248d8e
5 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -23,8 +23,8 @@ type BPMHook struct {
Run string `yaml:"run"`
}
// CreateHook returns a BPMHook instance based on the content of the given string
func CreateHook(sourcePath string) (*BPMHook, error) {
// createHook returns a BPMHook instance based on the content of the given string
func createHook(sourcePath string) (*BPMHook, error) {
// Read hook from source path
bytes, err := os.ReadFile(sourcePath)
if err != nil {