Skip to content

Instantly share code, notes, and snippets.

@Seelengrab
Created March 25, 2023 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Seelengrab/3056b7bcaae15267ebd34972c17e292f to your computer and use it in GitHub Desktop.
Save Seelengrab/3056b7bcaae15267ebd34972c17e292f to your computer and use it in GitHub Desktop.
Module structure example
module foobar
using ..Utils: utility
f(x) = utility*x
end
module MyPackage
include("utils.jl")
include("foobar.jl")
end
module Utils
# utility stuff
utility = 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment