Skip to content

Commit 0ed5d65

Browse files
Add prefix constant
1 parent 1e68bf5 commit 0ed5d65

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

data.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ type Provider struct {
1212
ID string `yaml:"id" validate:"required"`
1313
Address string `yaml:"addr" validate:"required"`
1414
}
15+
16+
// prefix
17+
const (
18+
IpfsLinkPrefix = "ipfs://"
19+
)

0 commit comments

Comments
 (0)