API
Modules
Types and constants
Functions and macros
Documentation
JuliaPackageTemplate.JuliaPackageTemplate
— ModuleJuliaPackageTemplate
Template for Julia packages.
JuliaPackageTemplate.hello_world
— MethodJuliaPackageTemplate.hello_world()
Prints "Hello, World!" and returns 42.
using JuliaPackageTemplate
JuliaPackageTemplate.hello_world()
# output
Hello, World!
42
JuliaPackageTemplate.test_hellofunc
— Functiontest_hellofunc(f)
Test if f()
returns "Hello, World!".
!!! Note The Test
standard library must be loaded, e.g. via import Test
, to use this function.