gocopper / copper Goto Github PK
View Code? Open in Web Editor NEWπβββ ββββββββββββCopper is a Go toolkit complete with everything you need to build web apps.
Home Page: https://gocopper.dev
License: MIT License
πβββ ββββββββββββCopper is a Go toolkit complete with everything you need to build web apps.
Home Page: https://gocopper.dev
License: MIT License
I'm trying to build tutorial app using copper but following error occured.
func (r *PostsRepo) GetPostByID(ctx context.Context, id string) (*Post, error) {
db := csql.GetConn(ctx, r.db)
fmt.Println(db)
return nil, nil
}
.\main.go:30:27: cannot use r.db (type *"gorm.io/gorm".DB) as type *"github.com/jinzhu/gorm".DB in argument to csql.GetConn
If I want to develop with custom framework like 'alpinejs' what options should I be using?
golang$ copper create -frontend=go:tailwind github.com/bfollek/hn
ERROR Create github.com/bfollek/hn with frontend=go:tailwind, storage=gorm:sqlite (Took 4.234s)
failed to apply go:tailwind code mod because
> failed to add npm scripts where wd=hn because
> failed to open file where fp=hn/web/package.json because
> open hn/web/package.json: no such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.