mirror of
https://github.com/mickael-menu/zk
synced 2024-11-03 23:15:49 +00:00
4bf660f934
Many tag flavors are supported: `#hashtags`, `:colon:separated:tags:` and even Bear's [`#multi-word tags#`](https://blog.bear.app/2017/11/bear-tips-how-to-create-multi-word-tags/). If you prefer to use a YAML frontmatter, list your tags with the keys `tags` or `keywords`.
20 lines
258 B
Go
20 lines
258 B
Go
package core
|
|
|
|
type NoteId int64
|
|
|
|
func (id NoteId) IsValid() bool {
|
|
return id > 0
|
|
}
|
|
|
|
type CollectionId int64
|
|
|
|
func (id CollectionId) IsValid() bool {
|
|
return id > 0
|
|
}
|
|
|
|
type NoteCollectionId int64
|
|
|
|
func (id NoteCollectionId) IsValid() bool {
|
|
return id > 0
|
|
}
|