You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-grpc_basic/pkg/v1/utils/constants/constants.go

33 lines
514 B
Go

2 years ago
package constants
const (
EnvProduction = "production"
)
const (
SuccessCode = `0000`
SuccesDesc = `SUCCESS`
)
const (
Table_Custom_Main = "custom.main"
)
2 years ago
const (
MethodGET = "GET"
MethodPOST = "POST"
MethodPUT = "PUT"
MethodDELETE = "DELETE"
)
const (
Host_Reqres = "https://jsonplaceholder.typicode.com"
)
const (
JSONType = "application/json"
XMLType = "application/xml"
URLEncodedType = "application/x-www-form-urlencoded"
STREAMType = "application/octet-stream"
)