mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
No case
This commit is contained in:
parent
3f3ee6c9fa
commit
b6a9c44bce
1
page.go
1
page.go
@ -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("")
|
||||||
|
Loading…
Reference in New Issue
Block a user