Documentation ¶
Index ¶
- Variables
- func MarshalPayload[T any](payload *T) E.Either[error, []byte]
- func OnCreateFeedbackError(err error) httpapi.ResponseFeedback
- func OnCreateFeedbackSuccess(annoId string, entityType string) httpapi.ResponseFeedback
- func ProcessEnvOntologyTerm(input string) string
- func ProcessOntologyTermId(val string) string
- type AssignedBy
- type CreateResp
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CreateHTTP = H.ReadJSON[CreateResp](H.MakeClient(http.DefaultClient))
)
Functions ¶
func OnCreateFeedbackError ¶
func OnCreateFeedbackError(err error) httpapi.ResponseFeedback
func OnCreateFeedbackSuccess ¶
func OnCreateFeedbackSuccess( annoId string, entityType string, ) httpapi.ResponseFeedback
func ProcessEnvOntologyTerm ¶
func ProcessOntologyTermId ¶
Types ¶
type AssignedBy ¶
type AssignedBy struct {
Id int `json:"id"`
}
type CreateResp ¶
type CreateResp struct {
AnnoId string `json:"annotation_id"`
}
Click to show internal directories.
Click to hide internal directories.