goploy/response/Empty.go

14 lines
305 B
Go
Raw Normal View History

2022-04-09 21:53:37 +08:00
// Copyright 2022 The Goploy Authors. All rights reserved.
// Use of this source code is governed by a GPLv3-style
// license that can be found in the LICENSE file.
2021-12-21 16:49:17 +08:00
package response
import (
"net/http"
)
type Empty struct{}
2022-10-11 10:13:17 +08:00
func (Empty) Write(http.ResponseWriter, *http.Request) error { return nil }