# Code reuse

**URL:** <https://discourse.julialang.org/t/code-reuse/69618>\
**Category:** New to Julia\
**Created:** [October 12, 2021, 12:07pm UTC](https://discourse.julialang.org/t/code-reuse/69618 "2021-10-12T12:07:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [October 12, 2021, 12:30pm UTC](https://discourse.julialang.org/t/code-reuse/69618/4 "2021-10-12T12:30:11Z")

</div>

> [@goncharovdk](#):
>
> separate repos

You can have package in a sub-folder of repo, Julia registry supports that:

> [@Usage of subdirectories to store multiple packages in a single repo](https://discourse.julialang.org/t/usage-of-subdirectories-to-store-multiple-packages-in-a-single-repo/55534/3):
>
> It’s probably easier to put SomePackageBase in the subdirectory, you don’t have to change as many things - especially the repository name and URL. Docs are the thing I would definitely combine, there is not real point having separate docs, it’s probably worse for users as well. See ModelParameters.jl for an example of this setup - a subpackage included in the main docs:

---

_[View the full topic](https://discourse.julialang.org/t/code-reuse/69618)._
