Questions tagged [qor]

Questions relating to the QOR development suite (SDK) for Go (Golang).

Questions relating to the QOR development suite (SDK) for Go (Golang), any of its sub-parts (e.g. plugin repositories):

7 questions
2
votes
1 answer

Integrating Qor with Beego, getting invalid memory address or nil pointer dereference error

I have a simple web app that is using the Beego framework. I have recently discovered and want to play around with using it along side Beego. I have followed this documentation to integrate Qor with my Beego web app. When deploying, everything goes…
1
vote
1 answer

Qor admin disable create button and update selected item

In qor admin, how do I disable the create button and disable update the selected item? I've tried, but I can only hide the Delete button in action for each record. Here is my code: borrowerLog := a.adm.AddResource(&model.BorrowerHistoryLog{},…
Angga Suwito
  • 11
  • 1
  • 3
1
vote
2 answers

Associated belongs with qor admin

I have these two structures: type Collection struct { gorm.Model APIKey string CollectionID string Name string Environments []Environment } type Environment struct { gorm.Model EnvironmentID string Name …
Eloy Fernández Franco
  • 1,350
  • 1
  • 24
  • 47
0
votes
1 answer

Problem with Gin Gonic and Qor Admin: error 500 on heroku

I want to create an admin panel for my project and i used Qor admin with Gin. When i tested it on localhost it didnt cause any errors or exeptions, but when i commit it to heroku i`ll get 500 error; I use Gorm v1 as an ORM. How can i fix the…
Any Coder
  • 31
  • 1
  • 4
0
votes
0 answers

How compiled language like Go performs without dynamic load compared to interpreted languages?

I switched to Go from interpreted languages like javascript, php, python. After using some CMS frameworks for web app like qor then i realized it loads all the resources at runtime like: backend and frontend even when user only access to the…
TomSawyer
  • 3,711
  • 6
  • 44
  • 79
0
votes
2 answers

How to make fields in QoR model readonly?

I have a data model: type Epg struct { gorm.Model Uri string `gorm:";not null;unique"` Prefix string `gorm:"size:64;not null;default:''"` Etag string Updated time.Time Status bool `gorm:"default:true"` } I publish…
Roman Shishkin
  • 2,097
  • 20
  • 21
-3
votes
3 answers

QOR example panic

I'm trying to run the program this link. However I run it and it leads to a panic on the gorm side. Since I'm new to go language, I have no idea how to debug it. An mini-version of the program (without the fb, twitter and other login…
silgon
  • 6,890
  • 7
  • 46
  • 67