Y
Y
yativ_sobb2021-05-02 21:28:23
go
yativ_sobb, 2021-05-02 21:28:23

How to use one model for 2 projects?

Good evening!

I'm writing a project in golang and now I'm starting to write 2, I want to use the models I wrote from the first project, because the logic is very similar, especially authorization.

It is necessary to divide so that I rule in one model and immediately there was a change here and there.

I plan to separate these models as separate git repositories and then pull them from my projects, do you think my decision is correct?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question