aboutsummaryrefslogtreecommitdiff
path: root/obj_tag.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2025-11-16 00:00:00 +0000
committerGravatar Runxi Yu2025-11-16 00:00:00 +0000
commitd4242ecef77b6ce478101ce83d741326d4a67435 (patch)
treea36226cca2ec09fea00db4ec9a15a4f39f2f704b /obj_tag.go
parentFix tests using the wrong Serialize signatures (diff)
signature
Make ObjectType look like a pointer-receiver in the docs
Diffstat (limited to 'obj_tag.go')
-rw-r--r--obj_tag.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/obj_tag.go b/obj_tag.go
index 31018c2c..8c5981e9 100644
--- a/obj_tag.go
+++ b/obj_tag.go
@@ -17,7 +17,8 @@ type Tag struct {
}
// ObjectType allows Tag to satisfy the Object interface.
-func (*Tag) ObjectType() ObjectType {
+func (tag *Tag) ObjectType() ObjectType {
+ _ = tag
return ObjTag
}