utils

package
v0.0.0-...-d02f04d Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Academic query functions. Funciones generalizadas para consultar los servicios de espacios académicos o proyeto académico y obtener los regisros resultantes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsStringIndex

func ContainsStringIndex(s []string, e string) (bool, int)

ContainsStringIndex reports whether e is present in s, and index of the first occurrence

func GetAcademicSpacesByQuery

func GetAcademicSpacesByQuery(query string) (any, error)

func RemoveIndexString

func RemoveIndexString(s []string, i int) ([]string, error)

RemoveIndexString remove the element at index i from slice Maintains order of the slice

func Slice2SliceString

func Slice2SliceString(s []interface{}) []string

func UpdateAcademicSpace

func UpdateAcademicSpace(id string, spaceData interface{}) (map[string]interface{}, error)

UpdateAcademicSpace update the academic space and return data of updated space

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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