mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
No case
Former-commit-id: eb4cb02a7cde861255c9b425619ea8bf3d2f90a1 [formerly d603bd8d9e765a82d954b48586357b7593bd873b] [formerly 7ed56a670228947c7b180a7aeba1353a5f74b7c8 [formerly 5c9b621bb564be87a11d35a268d152476e4048d8 [formerlyb6a9c44bce
]]] Former-commit-id: ffa105847b5eeb409bd471f6fc2065d3ca0c14e4 [formerly e6c16a7b3c8b4d8371fc09f7c374d90af16b7bc1] Former-commit-id: 6b70c68d2f8ac7b11dd0631b1133f3c8b16841e9 Former-commit-id:fe8022d128
This commit is contained in:
parent
6347038563
commit
bca008f315
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