The simplest way is to get database to do it: use AUTOINCREMENT column and the database will generate unique id when you insert a new note row into a table.
![Generating good unique ids in Go](https://cdn-ak-scissors.b.st-hatena.com/image/square/e75accb429d0cbda9a369b7e32b7b431c61f05e1/height=288;version=1;width=512/https%3A%2F%2Fblog.kowalczyk.info%2Fimg%2F9090df85c4e6f4c8f5d16de1bee8926946f88f18.jpg)
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く