payment gateway for rpn cn
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

22 行
433B

  1. package main
  2. import (
  3. "log"
  4. "net/http"
  5. )
  6. func main() {
  7. readConfig()
  8. log.Println("Server started on: http://localhost:8080")
  9. //http.HandleFunc("/", StartPay)
  10. http.HandleFunc("/", Index)
  11. http.HandleFunc("/show", Show)
  12. http.HandleFunc("/new", New)
  13. http.HandleFunc("/edit", Edit)
  14. http.HandleFunc("/insert", Insert)
  15. http.HandleFunc("/update", Update)
  16. http.HandleFunc("/delete", Delete)
  17. http.ListenAndServe(":8080", nil)
  18. }