Nobody had ever created a function like this one before. (#26)

Reviewed-on: rrise/reloading-manager#26
Co-authored-by: Ron Rise <ron@siteworxpro.com>
Co-committed-by: Ron Rise <ron@siteworxpro.com>
This commit is contained in:
2025-04-18 17:30:11 -04:00
committed by Siteworx Pro Gitea
parent 1ae280d785
commit eaa9b97baa
41 changed files with 1159 additions and 88 deletions

View File

@@ -0,0 +1,24 @@
//
// Code generated by go-jet DO NOT EDIT.
//
// WARNING: Changes to this file may cause incorrect behavior
// and will be lost if the code is regenerated
//
package model
import (
"github.com/google/uuid"
"time"
)
type Bullets struct {
ID uuid.UUID `sql:"primary_key"`
Name string
Weight int32
Diameter int32
Meta *string
Photo *[]byte
ManufacturerID uuid.UUID
CreatedAt time.Time
}

View File

@@ -0,0 +1,20 @@
//
// Code generated by go-jet DO NOT EDIT.
//
// WARNING: Changes to this file may cause incorrect behavior
// and will be lost if the code is regenerated
//
package model
import (
"github.com/google/uuid"
"time"
)
type Cartridges struct {
ID uuid.UUID `sql:"primary_key"`
Name string
CreatedAt time.Time
Meta string
}

View File

@@ -0,0 +1,26 @@
//
// Code generated by go-jet DO NOT EDIT.
//
// WARNING: Changes to this file may cause incorrect behavior
// and will be lost if the code is regenerated
//
package model
import (
"github.com/google/uuid"
"time"
)
type Loads struct {
ID uuid.UUID `sql:"primary_key"`
CartridgeID uuid.UUID
Col float32
PowderID uuid.UUID
PowderGr float32
PrimerID uuid.UUID
BulletID uuid.UUID
Photo []byte
CreatedAt time.Time
Meta string
}

View File

@@ -0,0 +1,20 @@
//
// Code generated by go-jet DO NOT EDIT.
//
// WARNING: Changes to this file may cause incorrect behavior
// and will be lost if the code is regenerated
//
package model
import (
"github.com/google/uuid"
"time"
)
type Manufacturers struct {
ID uuid.UUID `sql:"primary_key"`
Name string
URL *string
CreatedAt time.Time
}

View File

@@ -0,0 +1,22 @@
//
// Code generated by go-jet DO NOT EDIT.
//
// WARNING: Changes to this file may cause incorrect behavior
// and will be lost if the code is regenerated
//
package model
import (
"github.com/google/uuid"
"time"
)
type Powders struct {
ID uuid.UUID `sql:"primary_key"`
Name string
Meta *string
Photo *[]byte
ManufacturerID uuid.UUID
CreatedAt time.Time
}

View File

@@ -0,0 +1,22 @@
//
// Code generated by go-jet DO NOT EDIT.
//
// WARNING: Changes to this file may cause incorrect behavior
// and will be lost if the code is regenerated
//
package model
import (
"github.com/google/uuid"
"time"
)
type Primers struct {
ID uuid.UUID `sql:"primary_key"`
Name string
Meta *string
Photo *[]byte
ManufacturerID uuid.UUID
CreatedAt time.Time
}

View File

@@ -0,0 +1,13 @@
//
// Code generated by go-jet DO NOT EDIT.
//
// WARNING: Changes to this file may cause incorrect behavior
// and will be lost if the code is regenerated
//
package model
type SchemaMigrations struct {
Version int64 `sql:"primary_key"`
Dirty bool
}