Tim hieu cach unit-test HTTP handler trong Go ma khong can khoi dong server: goi
ServeHTTP truc tiep, tao request thong qua
httptest.NewRequest va bat ket qua trong
httptest.NewRecorder. Ta hoc cach kiem tra
status, header
Content-Type, JSON contract thong qua decode, error envelope cho
validation/
not_found/
internal, va cung viet cac helper voi
t.Helper() cung nhu cac bai test table-driven.