http: add pub to Method.str()

pull/6015/head
Delyan Angelov 2020-07-28 12:34:08 +03:00
parent 5bf3b6eda3
commit 228486555c
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ pub enum Method {
patch
}
fn (m Method) str() string {
pub fn (m Method) str() string {
return match m {
.get { 'GET' }
.post { 'POST' }