mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
http: add pub to Method.str()
This commit is contained in:
parent
5bf3b6eda3
commit
228486555c
@ -18,7 +18,7 @@ pub enum Method {
|
|||||||
patch
|
patch
|
||||||
}
|
}
|
||||||
|
|
||||||
fn (m Method) str() string {
|
pub fn (m Method) str() string {
|
||||||
return match m {
|
return match m {
|
||||||
.get { 'GET' }
|
.get { 'GET' }
|
||||||
.post { 'POST' }
|
.post { 'POST' }
|
||||||
|
Loading…
Reference in New Issue
Block a user