1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
This commit is contained in:
Zack Scholl 2017-03-22 13:31:33 -06:00
parent 3f3ee6c9fa
commit b6a9c44bce

View File

@ -23,6 +23,7 @@ type Page struct {
} }
func Open(name string) (p *Page) { func Open(name string) (p *Page) {
name = strings.ToLower(name) // no case
p = new(Page) p = new(Page)
p.Name = name p.Name = name
p.Text = versionedtext.NewVersionedText("") p.Text = versionedtext.NewVersionedText("")