<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Web.GoGo語言的Web開發(fā)框架

          聯(lián)合創(chuàng)作 · 2023-09-20 17:21

          Web.Go 跟 web.py 類似,但使用的是 Go 編程語言實現(xiàn)的 Web 應(yīng)用開發(fā)框架。

          安裝方法:

          git clone git://github.com/hoisie/web.go.git
          cd web.go
          make && make install

          示例代碼:

          package main
          
          import (
              "web"
          )
          
          func hello(val string) string { return "hello " + val }
          
          func main() {
              web.Get("/(.*)", hello)
              web.Run("0.0.0.0:9999")
          }

          編譯方法:8g hello.go && 8l -o hello hello.8 && ./hello

          測試方法:http://localhost:9999/world

          瀏覽 21
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          編輯 分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  操网址| 亚洲无码福利导航 | 九九九爱免费视频在线观看 | 色啊色| ww视频免费观看 |