aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operation.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/operation.go')
-rw-r--r--bug/operation.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bug/operation.go b/bug/operation.go
index 91b77e56..08d44d0c 100644
--- a/bug/operation.go
+++ b/bug/operation.go
@@ -80,8 +80,8 @@ type OpBase struct {
}
// newOpBase is the constructor for an OpBase
-func newOpBase(opType OperationType, author Person, unixTime int64) *OpBase {
- return &OpBase{
+func newOpBase(opType OperationType, author Person, unixTime int64) OpBase {
+ return OpBase{
OperationType: opType,
Author: author,
UnixTime: unixTime,