-
Notifications
You must be signed in to change notification settings - Fork 0
/
patch.go
27 lines (24 loc) · 783 Bytes
/
patch.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
//
// ______ _ _ _ __ _ _ ____ ___
// | ____| | | | | | |/ _| | | | | |___ \ / _ \
// | |__ __ _| |_| |__ __ _| | |_ __ _| |_| |__ __) | | | |
// | __/ _` | __| '_ \ / _` | | _/ _` | __| '_ \ |__ <| | | |
// | | | (_| | |_| | | | (_| | | || (_| | |_| | | |___) | |_| |
// |_| \__,_|\__|_| |_|\__,_|_|_| \__,_|\__|_| |_|____/ \___/
//
// Written by Fathalfath30.
// Email : fathalfath30@gmail.com
// Follow me on:
// Github : https://github.com/fathalfath30
// Gitlab : https://gitlab.com/Fathalfath30
//
*/
package goquest
import (
"context"
"net/http"
)
func (gq *GoQuest) Patch(ctx context.Context, endpoint string, option *RequestOption) (*Response, error) {
return gq.Send(ctx, http.MethodPatch, endpoint, option)
}