From 2be9f0d3093d681d8d87e576cc2ef719ed722cd4 Mon Sep 17 00:00:00 2001 From: Jason Paulos Date: Thu, 9 May 2024 11:24:57 -0400 Subject: [PATCH] Satisfy linter --- abi/doc.go | 3 +-- abi/type.go | 1 + address/address.go | 4 ++++ apps/box.go | 3 +++ 4 files changed, 9 insertions(+), 2 deletions(-) diff --git a/abi/doc.go b/abi/doc.go index da680ab..0ace627 100644 --- a/abi/doc.go +++ b/abi/doc.go @@ -3,8 +3,7 @@ Package abi provides an implementation of the Algorand ARC-4 ABI type system. See https://arc.algorand.foundation/ARCs/arc-0004 for the corresponding specification. - -Basic Operations +# Basic Operations This package can parse ABI type names using the `abi.TypeOf()` function. diff --git a/abi/type.go b/abi/type.go index 4ebf6e2..8a3c6d2 100644 --- a/abi/type.go +++ b/abi/type.go @@ -187,6 +187,7 @@ type segment struct{ left, right int } // Each sub-string represents a content type of the tuple type. // The argument str is the content between parentheses of tuple, i.e. // (...... str ......) +// // ^ ^ func parseTupleContent(str string) ([]string, error) { // if the tuple type content is empty (which is also allowed) diff --git a/address/address.go b/address/address.go index 67efa93..a7d655f 100644 --- a/address/address.go +++ b/address/address.go @@ -1,3 +1,7 @@ +/* +Package address provides the ability to convert between 32 byte Algorand addresses and their base32 +string form. +*/ package address import ( diff --git a/apps/box.go b/apps/box.go index c627ce3..1f5e3e0 100644 --- a/apps/box.go +++ b/apps/box.go @@ -1,3 +1,6 @@ +/* +Package apps provides parsing utilities related to application arguments and box keys. +*/ package apps import (