Skip to content

Commit

Permalink
Changed the return specs of AddTag, ListTag and GetTag API in TagHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Jul 4, 2024
1 parent c1bdf1f commit 18c45df
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ type TagInfo struct {
}

type TagHandler interface {
AddTag(resType RSType, resIID IID, tag KeyValue) (TagInfo, error)
ListTag(resType RSType, resIID IID) ([]*TagInfo, error)
GetTag(resType RSType, resIID IID, key string) (TagInfo, error)
AddTag(resType RSType, resIID IID, tag KeyValue) (KeyValue, error)
ListTag(resType RSType, resIID IID) ([]KeyValue, error)
GetTag(resType RSType, resIID IID, key string) (KeyValue, error)
RemoveTag(resType RSType, resIID IID, key string) (bool, error)

// Find tags by tag key or value
Expand Down

0 comments on commit 18c45df

Please sign in to comment.