Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
added copier methods
Browse files Browse the repository at this point in the history
  • Loading branch information
andersfylling committed Aug 7, 2021
1 parent bc648e9 commit 44a68b2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
13 changes: 13 additions & 0 deletions iface_copier_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions iface_deepcopier_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ type StickerItem struct {
FormatType MessageStickerFormatType `json:"format_type"`
}

var _ Copier = (*StickerItem)(nil)
var _ DeepCopier = (*StickerItem)(nil)

type MessageSticker struct {
ID Snowflake `json:"id"`
PackID Snowflake `json:"pack_id"`
Expand Down

0 comments on commit 44a68b2

Please sign in to comment.