摘要:
```go package main import ( "crypto/tls" "fmt" "net/smtp"
) func main() { var email string fmt.Println("Enter username for smtp: ") fmt.Scanln(&email) var pass string fmt.Println("Enter p... 阅读全文
posted @ 2018-03-24 00:03
cucy_to
阅读(140)
评论(0)
推荐(0)
摘要:
```go package main import ( "encoding/json" "fmt" "io" "io/ioutil" "net/http" "strconv" "strings" ) const addr = "localhost:7070" type City struct { I 阅读全文
posted @ 2018-03-24 00:01
cucy_to
阅读(99)
评论(0)
推荐(0)
摘要:
```go package main import ( "fmt" "net/http"
) const addr = "localhost:7070" type RedirecServer struct { redirectCount int
} func (s *RedirecServer) ServeHTTP(rw http.ResponseWriter, req *htt... 阅读全文
posted @ 2018-03-24 00:00
cucy_to
阅读(210)
评论(0)
推荐(0)

浙公网安备 33010602011771号