摘要:
zzh@ZZHPC:/zdata/Github/greenlight$ docker pull postgres zzh@ZZHPC:/zdata/Github/greenlight$ docker run --name postgres17 -p 5432:5432 -e POSTGRES_USE
阅读全文
posted @ 2024-11-15 17:30
ZhangZhihuiAAA
阅读(18)
推荐(0)
摘要:
package main import ( "fmt" ) type A struct { field1 string } type B struct { field1 string } func main() { a := A{ field1: "aaa", } b := B(a) fmt.Pri
阅读全文
posted @ 2024-11-15 16:30
ZhangZhihuiAAA
阅读(9)
推荐(0)
摘要:
func (app *application) exampleHandler(w http.ResponseWriter, r *http.Request) { var input struct { Foo string `json:"foo"` } // Use io.ReadAll() to r
阅读全文
posted @ 2024-11-15 08:27
ZhangZhihuiAAA
阅读(26)
推荐(0)
posted @ 2024-11-15 08:21
ZhangZhihuiAAA
阅读(11)
推荐(0)