1
0
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:
Delyan Angelov 2020-07-28 12:34:08 +03:00
parent 5bf3b6eda3
commit 228486555c

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' }