json

package
v0.0.0-...-4251209 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertJSON

func ConvertJSON(dataArr []Driver) string

Types

type Driver

type Driver struct {
	ID            interface{} `json:"_id"`
	First_Name    interface{} `json:"first_name"`
	Last_Name     interface{} `json:"last_name"`
	Date_Of_Birth interface{} `json:"date_of_birth"`
	Date_Of_Death interface{} `json:"date_of_death"`
	Active        interface{} `json:"active"`
	Car_Number    interface{} `json:"car_number"`
	Nationality   interface{} `json:"nationality"`
	Teams_Raced   interface{} `json:"teams_raced"`
	Years_Active  interface{} `json:"years_active"`
	Race_Starts   interface{} `json:"race_starts"`
	Wdcs          interface{} `json:"wdcs"`
	Wins          interface{} `json:"wins"`
	Podiums       interface{} `json:"podiums"`
	Points        interface{} `json:"points"`
	Unique_Gp_Won interface{} `json:"unique_gp_won"`
}

func ReorderDriverMap

func ReorderDriverMap(dataMap bson.M) Driver

Jump to

Keyboard shortcuts

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