feat: activity log producers
This commit is contained in:
1 parent
50b1649965
commit
e37a46a027
93 files changed
+3396
-440
No files matched your search
@@ -0,0 +1,11 @@
|
||||
package audit
|
||||
|
||||
import "strconv"
|
||||
|
||||
func NewTarget(targetType string, id uint32, name string) Target {
|
||||
return Target{Type: targetType, ID: strconv.FormatUint(uint64(id), 10), Name: name}
|
||||
}
|
||||
|
||||
func ReleaseTarget(tag string) Target {
|
||||
return Target{Type: TargetRelease, ID: tag, Name: tag}
|
||||
}
|
||||
Reference in new issue
Block a user