<commit_before>package example

import "nimona.io/pkg/object"

//go:generate go run nimona.io/tools/objectify -schema test/inn -type InnerFoo -in example.go -out inner_foo_generated.go
//go:generate go run nimona.io/tools/objectify -schema test/foo -type Foo -in example.go -out foo_generated.go

type InnerFoo struct {
	InnerBar      string      `fluffy:"inner_bar"`
	InnerBars     []string    `fluffy:"inner_bars"`
	MoreInnerFoos []*InnerFoo `json:"inner_foos"`
	I             int
	I8            int8
	I16           int16
	I32           int32
	I64           int64
	U             uint
	U8            uint8
	U16           uint16
	U32           uint32
	F32           float32
	F64           float64
	Ai8           []int8
	Ai16          []int16
	Ai32          []int32
	Ai64          []int64
	Au16          []uint16
	Au32          []uint32
	Af32          []float32
	Af64          []float64
	// AAi           [][]int
	// AAf           [][]float32
	// O             map[string]interface{}
	// B             bool
}

type Foo struct {
	RawObject *object.Object `fluffy:"@"`
	Bar       string           `fluffy:"bar"`
	Bars      []string         `fluffys:"bars"`
	InnerFoo  *InnerFoo        `fluffy:"inner_foo"`
	InnerFoos []*InnerFoo      `fluffy:"inner_foos"`
}<commit_msg>chore(tools/objectify): fix tags in example<commit_after>package example

import "nimona.io/pkg/object"

// nolint
//go:generate go run nimona.io/tools/objectify -schema test/inn -type InnerFoo -in example.go -out inner_foo_generated.go
//go:generate go run nimona.io/tools/objectify -schema test/foo -type Foo -in example.go -out foo_generated.go

// InnerFoo -
// nolint
type InnerFoo struct {
	InnerBar      string      `json:"inner_bar"`
	InnerBars     []string    `json:"inner_bars"`
	MoreInnerFoos []*InnerFoo `json:"inner_foos"`
	I             int
	I8            int8
	I16           int16
	I32           int32
	I64           int64
	U             uint
	U8            uint8
	U16           uint16
	U32           uint32
	F32           float32
	F64           float64
	Ai8           []int8
	Ai16          []int16
	Ai32          []int32
	Ai64          []int64
	Au16          []uint16
	Au32          []uint32
	Af32          []float32
	Af64          []float64
	AAi           [][]int
	AAf           [][]float32
	AAs           [][]string
	// O             map[string]interface{}
	B bool
}

// Foo -
type Foo struct {
	// RawObject *object.Object   `json:"@"`
	Bar       string           `json:"bar"`
	Bars      []string         `json:"bars"`
	InnerFoo  *InnerFoo        `json:"inner_foo"`
	InnerFoos []*InnerFoo      `json:"inner_foos"`
	Object    *object.Object   `json:"object"`
	Objects   []*object.Object `json:"objects"`
}
{'fraction_non_alphanumeric': 0.10635924135366308, 'fraction_numerical': 0.0476013387876534, 'mean_word_length': 1.722672064777328, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3610433', 'n_tokens_mistral': 990, 'n_tokens_neox': 897, 'n_words': 224}