http: add pub to Method.str()
parent
5bf3b6eda3
commit
228486555c
|
@ -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' }
|
||||
|
|
Loading…
Reference in New Issue