Comments (2)
I'm not sure about applying the split handler in your project. It will be a lifecycle import.
server.go
using company/repository.go
for do something ->So server.go
need to import internal/company
company/handler.go
using server.go
-> So company/handler.go
need to import internal/server
=>error lifecycle import
will appear if you want to change to structure project. Because of server.go
quite not good, server.go
uses another repository. But repo
and handler
inside 1 pkg
for structure:
internal\
company\
handler.go (import server pkg)
repository.go
server\
server.go (import company pkg)
===> error lifecycle import
I suggest you like this
internal\
handler\
company.go
developer.go
....
server\
server.go (import company pkg)
===> working
from job-board.
i think it's too much work to restructure all the folders, we could just add subfolders for each domain entity
/company
/handlers
handler.go
/repositories
repository.go
/models
model.go
from job-board.
Related Issues (20)
- [FEATURE] allow recruiters to see sent messages HOT 6
- [FEATURE] allow job posters to automatically signup as recruiters HOT 8
- [FEATURE] allow developers to see received messages and profile views HOT 5
- [BUG] remove https in email links when in local environment HOT 8
- [BUG] redirect logged users when visiting "join community" pages HOT 6
- [FEATURE] automatically post jobs to linkedin "share as a post" HOT 5
- [FEATURE] improve location tagging when creating a job HOT 8
- [FEATURE] add created_at field to user_sign_on_token table/add expired tokens cronjob HOT 6
- [FEATURE] share daily (week day only) jobs on twitter HOT 3
- [FEATURE] push notifications for new jobs HOT 4
- [FEATURE] implement hamburger menu on mobile HOT 3
- [DX] rename static files that are templates HOT 6
- [BUG] cache invalidation / jobs showing as "no longer available" HOT 3
- [FEATURE] face detection on for developer image on signup / blur images for non-logged users HOT 3
- [FEATURE] allow job posters to see list of applications on their job page HOT 5
- [FEATURE] add rate limiting on sign-on page HOT 8
- [FEATURE] allow developers to specify experience/education ordering
- [FEATURE] landing page and job page should tell if a job has been saved or applied to HOT 4
- Deployment of Dockerized Postgres and Golang to VM HOT 1
- Edit Your Developer Profile
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 job-board.