From 052997684dc385e1b9940a30320941a6d1937e95 Mon Sep 17 00:00:00 2001 From: Kevin Lyda <kevin@lyda.ie> Date: Sat, 3 Dec 2022 08:41:57 +0000 Subject: [PATCH] Initial type for actions. --- modules/actions.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 modules/actions.go diff --git a/modules/actions.go b/modules/actions.go new file mode 100644 index 0000000..2d140c4 --- /dev/null +++ b/modules/actions.go @@ -0,0 +1,9 @@ +// Package modules implements all the modules. +// Copyright (C) 2022 Kevin Lyda <kevin@lyda.ie> +package modules + +// Action defines a module. +type Action struct { + Kind string `yaml:"kind"` + Args []string `yaml:"args"` +} -- GitLab