Documentation ¶
Overview ¶
* File Created: Sunday, 30th July 2023 3:57:52 pm * Author: Abdul Hamid (abdul.surel@gmail.com) * * Copyright (c) 2023 Author
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpMockResJSON ¶
func StringToTime ¶
StringToTime return string to time without return error. If when parsing encounters an error, it will return the default value
Types ¶
type Feature ¶
type Feature struct { Ctrl *gomock.Controller ServerKey string }
func FeatureWrap ¶
func (*Feature) DeepEqualPayload ¶
DeepEqualPayload checks whether the payload for the request matches the example json or not. Value payload and argPayload must be assign as pointer
func (*Feature) DeepEqualResponse ¶
DeepEqualResponse is used to check responses that have interface values
func (*Feature) ResJSONByte ¶
Click to show internal directories.
Click to hide internal directories.