aboutsummaryrefslogtreecommitdiff
path: root/obj_blob.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_blob.go
parentFix tests using the wrong Serialize signatures (diff)
signature
Make ObjectType look like a pointer-receiver in the docs
Diffstat (limited to 'obj_blob.go')
-rw-r--r--obj_blob.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/obj_blob.go b/obj_blob.go
index 45d412ff..d3be2f23 100644
--- a/obj_blob.go
+++ b/obj_blob.go
@@ -8,7 +8,8 @@ type Blob struct {
}
// ObjectType allows Blob to satisfy the Object interface.
-func (*Blob) ObjectType() ObjectType {
+func (blob *Blob) ObjectType() ObjectType {
+ _ = blob
return ObjBlob
}