common

package
v0.0.0-...-f29e771 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2024 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func MarshalPayload

func MarshalPayload[T any](payload *T) E.Either[error, []byte]

func OnCreateFeedbackError

func OnCreateFeedbackError(err error) httpapi.ResponseFeedback

func OnCreateFeedbackSuccess

func OnCreateFeedbackSuccess(
	annoId string,
	entityType string,
) httpapi.ResponseFeedback

func ProcessEnvOntologyTerm

func ProcessEnvOntologyTerm(input string) string

func ProcessOntologyTermId

func ProcessOntologyTermId(val string) string

Types

type AssignedBy

type AssignedBy struct {
	Id int `json:"id"`
}

type CreateResp

type CreateResp struct {
	AnnoId string `json:"annotation_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL