Comments (3)
Hi Alan, I'll write a blog post about the topic of web development with Go, and some of the choices we made. We did use a number of tools to simplify development:
- bmizerany/pat for routing
- dchest/authcookie for secure cookies
- dchest/passwordreset for password reset
- russross/meddler for database mapping
Were there any specific frameworks you were wondering about?
from gitness.
Ah, I didn't see you were using pat. It looks like the combination of those packages is a pretty comprehensive solution. Although, the one thing that stuck out to me was writing raw SQL. I'm not even sure if there are any good ORM framework for golang yet, but that's primarily what I value in a framework.
I haven't written anything in golang personally, but after hearing about Docker I had essentially the same idea for building a application that tests using Docker containers.
The killer feature that I want it for is committing the container image to an index after testing is completed, allowing for developers to check out the result locally and debug the result.
Anyways, my advice to you is if you want to have lots of good contributions then write a design document describing your architecture and libraries that you use so that new contributors can get started quickly.
I really like what you're doing here and I hope I can find time to contribute something. You can count on me watching this and trying it out for myself.
from gitness.
Yes, I'll definitely write some documentation on the architecture and project organization
there are two main orms in go:
gorp doesn't support joins so you'd end up writing your own SQL anyway. gorm was brand new when we started building Drone and we wanted something stable. It may be worth another look.
meddler is nice because it generates the SQL for INSERT and UPDATE, and handles column mapping for our SELECT statements. So we only had to write SELECT statements, which wasn't too painful. I think what I really miss is a good migration utility provided by most ORMs
support for publishing Docker images should land this month, so stay tuned!
from gitness.
Related Issues (20)
- Cloudflare Pages deploy issue
- Docker-in-Docker sample don't works HOT 2
- Repository names cannot start with '.' HOT 1
- Drone: DRONE_BUILD_ environment variables not being updated in same stage HOT 4
- Gitness itself supports deployment to kubernetes ? HOT 2
- Is there a way to protect .drone.yml from editing? HOT 2
- Add configuration values for the Pipelines created containers HOT 4
- Question for gitness and drone framework
- Can not login to dockerhub HOT 1
- Will oauth2 provider support be added to gitness HOT 2
- gitness support cron and schedules Triggers HOT 2
- How can I backup my repositories? HOT 3
- Gitness website Contribution HOT 2
- Export container locally HOT 1
- Support i18n (chinese) HOT 1
- pipelines clone error HOT 1
- Simultaneously support multiple version control systems HOT 4
- How to config the domain for gitness? HOT 2
- Set the docker enpoint (TCP) HOT 2
- Provide configurable legal pages (privay, terms) instead of hardcoded links to harness.io
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitness.