bson

package
v0.0.0-...-4c2cf2a Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 4 Imported by: 0

README

gsgen -d="../example/bson" -f=".model.go,.mod.go" -b

Documentation

Overview

Code generated by https://github.com/chenxyzl/gsgen; DO NOT EDIT. gen_tools version: 1.1.8 generate time: 2024-07-03 16:03:35

Code generated by https://github.com/chenxyzl/gsgen; DO NOT EDIT. gen_tools version: 1.1.8 generate time: 2024-07-03 16:03:35

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestA

type TestA struct {
	gsmodel.DirtyModel `bson:"-"`
	// contains filtered or unexported fields
}

func (*TestA) BuildBson

func (s *TestA) BuildBson(m bson.M, preKey string)

func (*TestA) CleanDirty

func (s *TestA) CleanDirty()

func (*TestA) Clone

func (s *TestA) Clone() (*TestA, error)

func (*TestA) GetCc

func (s *TestA) GetCc() *gsmodel.DList[int]

func (*TestA) GetDd

func (s *TestA) GetDd() *gsmodel.DMap[string, *TestA]

func (*TestA) MarshalBSON

func (s *TestA) MarshalBSON() ([]byte, error)

func (*TestA) MarshalJSON

func (s *TestA) MarshalJSON() ([]byte, error)

func (*TestA) SetCc

func (s *TestA) SetCc(v *gsmodel.DList[int])

func (*TestA) SetDd

func (s *TestA) SetDd(v *gsmodel.DMap[string, *TestA])

func (*TestA) String

func (s *TestA) String() string

func (*TestA) UnmarshalBSON

func (s *TestA) UnmarshalBSON(data []byte) error

func (*TestA) UnmarshalJSON

func (s *TestA) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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