mirror of
https://github.com/EnumeratedDev/bpm.git
synced 2026-09-21 21:16:12 +00:00
Unexport functions
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user