# How to define function input type a struct from a different module?

**URL:** <https://discourse.julialang.org/t/how-to-define-function-input-type-a-struct-from-a-different-module/41031>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [June 9, 2020, 1:57am UTC](https://discourse.julialang.org/t/how-to-define-function-input-type-a-struct-from-a-different-module/41031 "2020-06-09T01:57:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [June 9, 2020, 4:26am UTC](https://discourse.julialang.org/t/how-to-define-function-input-type-a-struct-from-a-different-module/41031/3 "2020-06-09T04:26:21Z")

</div>

You might also find the discussion here relevant: [Error with modules sharing types](https://discourse.julialang.org/t/error-with-modules-sharing-types/37119)

---

_[View the full topic](https://discourse.julialang.org/t/how-to-define-function-input-type-a-struct-from-a-different-module/41031)._
