repositories

package
v0.0.0-...-075f35d Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileContentType

func GetFileContentType(filename string) string

func HorizontalSharding

func HorizontalSharding(Data string, ShardKey string, Database []string, c *fiber.Ctx) ([][]Data, error)

Types

type Data

type Data struct {
	// Flexible using map interface
	Attributes map[string]interface{}
}

Data structure

type DataSharded

type DataSharded map[int][]Data

Data structure

Jump to

Keyboard shortcuts

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