15 lines
280 B
Go
15 lines
280 B
Go
|
package main
|
||
|
|
||
|
// define note structure
|
||
|
type note struct {
|
||
|
slug string
|
||
|
title string
|
||
|
note string
|
||
|
url string
|
||
|
file bool
|
||
|
} // end note structure
|
||
|
|
||
|
func NoteNew (title string, slug string, url string, file bool) (id int) {
|
||
|
return 1
|
||
|
} // func DBNew
|