nvim/snippets/go.json

15 lines
257 B
JSON
Raw Normal View History

2024-01-14 23:20:45 +08:00
{
"class": {
2024-01-16 20:05:57 +08:00
"prefix": "class",
2024-01-14 23:20:45 +08:00
"body": [
"type $1 struct {",
2024-01-16 20:05:57 +08:00
" id int64",
" $2",
" createTime time.Time \/\/ 创建时间",
" updateTime time.Time \/\/ 更新时间",
2024-01-14 23:20:45 +08:00
"}",
"$0"
]
}
}