Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Apr 7, 2024
1 parent 93621cc commit a259b26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions codegen/curl.v
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
import net.html
import vibe

const (
request = vibe.Request{}
separator = '\n-----------------------------------------------------------------------\n'
)
const request = vibe.Request{}
const separator = '\n-----------------------------------------------------------------------\n'

fn gen_opts() string {
body := request.get('https://curl.se/libcurl/c/easy_setopt_options.html') or {
Expand Down
6 changes: 2 additions & 4 deletions codegen/vibe.v
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
import net.html
import vibe

const (
request = vibe.Request{}
separator = '\n-----------------------------------------------------------------------\n'
)
const request = vibe.Request{}
const separator = '\n-----------------------------------------------------------------------\n'

fn gen_headers() string {
body := request.get_slice('https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers',
Expand Down

0 comments on commit a259b26

Please sign in to comment.