karab

command module
v0.0.0-...-eba4e0e Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

README

کاراب

  • کاراب یک نمونه از سایت های کاریابی است که میتوان به سبکی جدید ساخت
  • کاراب نسخه بهینه شده پروتوتایپ کاراب است که هدف کارکرد زبان go , fiber , sqlite , gorm و htmx را نشان میدهد

نحوه استفاده

git clone https://github.com/Torbatti/karab.git
cd karab
go run main.go

models

type Applicant struct {
	ID            uint `json:"id" gorm:"primaryKey"`
	CreatedAt     time.Time
	ApplicantName string `json:"applicant_name"`
}

type Company struct {
	ID        uint `json:"id" gorm:"primaryKey"`
	CreatedAt time.Time
	Name      string `json:"company_name"`
	Jobs      []Job  `gorm:"foreignKey:CompanyRefer"`
}

type Job struct {
	ID           uint `json:"id" gorm:"primaryKey"`
	CreatedAt    time.Time
	Name         string `json:"job_name"`
	Description  string `json:"description"`
	City         string `json:"city"`
	Wage         string `json:"wage"`
	Date         string `json:"date"`
	CompanyRefer uint   `json:"company_refer"`
}

نمایش

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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