Go中的清洁架构 建造 制作 运行测试 做测试 API请求 新增书籍 curl -X "POST" "http://localhost:8080/v1/book" \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -d $'{ "title": "I Am Ozzy", "author": "Ozzy Osbourne", "pages": 294, "quantity":10 }' 搜索书 curl "http://localhost:8080/v1/book?title=ozzy" \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' 显示书