Using the buffalo framework,
after bootstraping it via buffalo new
I am trying to run buffalo dev
Expecting to see:
project running on port 3000
But I am getting those error messages instead
actions/app.go:4:2: missing go.sum entry…
In trying to use the buffalo-pop/pop/popmw Transaction middleware, I am not having success writing to the database. No errors are returned, and the debug output shows the SQL statements, but the updates and inserts are not committed.
The handler…
I'm new on using gobuffalo, and every time i run migrate always show this warning. What is the meaning of that warning?
> soda migrate up
v5.3.1
[POP] 2021/05/25 14:17:12 info - > create_products
[POP] 2021/05/25 14:17:12 info - Successfully…
i'm trying to acheive something in nginx but i'm having a hard time.
Basically i want to ask for a password everytime my api receive any HTTP methods except POST and PUT , it works to some extent because the password prompts appear when trying to…
I have this structure:
type User struct {
ID int
CreatedAt int
UpdatedAt int
DeviceUniqueIdentifier string
Sessions []Session `has_many:"sessions"`
}
I have no idea how to export this in fizz, so I did so:
buffalo pop…
I'm using buffalo v0.13.10.
I'm trying to understand how to make it work this: https://github.com/frederikhors/buffalo-authboss-sample and I found that app.mount isn't like chi router mount (https://godoc.org/github.com/go-chi/chi#Mux.Mount).
I…
In go buffalo, there is a generated .gitignore file which ignores public/assets. However, at the same time, the generated css and js are critical for getting a 'real' buffalo app. So, there's a disconnect which I don't fully understand, which is…
How can I execute raw SQL queries in Buffalo without having to set up my own db connection with sqlx?
To clarify: I have my database connection defined in database.yml, but I don't want to use Pop models at this time.
I am trying to seed my development database in the Go Buffalo framework using TOML fixtures. However, I am having trouble finding a clear example or documentation on how to do this.
We're using Go (Buffalo) to serve up both an API and the static assets for a Single-Page Application (SPA) that uses Svelte and Routify.
However, I'd like to have certain routes (e.g. "/auth/login") be ignored by Routify and instead go to the Go /…
I want to debug the GO code in VS code. I basically want to attach the go project which is open in VS code to the terminal and then run some "buffalo task" command in terminal, which then directs me to my breakpoints in VS code.
Please help me and…
I am running Ubuntu 19.10 and Go 1.13.4.
I installed gobuffalo following the instructions here: https://gobuffalo.io/en/docs/getting-started/installation#gnu-linux
The error occurs after running the new command to start a project
buffalo new…
Below is my Advertiser Model -
type Advertiser struct {
ID int `json:"id" db:"id"`
CreatedAt time.Time `json:"created_at" db:"created_at"`
UpdatedAt time.Time `json:"updated_at" db:"updated_at"`
Name …
Buffalo test error on a new project I created with this command.
buffalo new coke --db-type sqlite3
buffalo test
Here is the error:
[POP] 2023/02/23 13:43:02 warn - unable to load connection development: could not create new connection: sqlite3…