1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00
Former-commit-id: eb4cb02a7cde861255c9b425619ea8bf3d2f90a1 [formerly d603bd8d9e765a82d954b48586357b7593bd873b] [formerly 7ed56a670228947c7b180a7aeba1353a5f74b7c8 [formerly b6a9c44bce]]
Former-commit-id: ffa105847b5eeb409bd471f6fc2065d3ca0c14e4 [formerly e6c16a7b3c8b4d8371fc09f7c374d90af16b7bc1]
Former-commit-id: 6b70c68d2f8ac7b11dd0631b1133f3c8b16841e9
This commit is contained in:
Zack Scholl 2017-03-22 13:31:33 -06:00
parent 70616e9d31
commit fe8022d128

View File

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