structure in julia code example

Example: structure in julia

# Structures (previously known in Julia as "Types")
#= 
	Defining a normal 
  	Structure 
=# 
mutable struct MyOwnType
  property1 		 # this is a dynamic typed object
  property2::String  # this is string type object (precisely declared)
end

#= 
	Defining a Structure
	With Template
=#
mutable struct MyOwnType{T<:Number}
 property1 		   # this is a dynamic typed object
 property2::String # this is string type object (precisely declared)
 property3::T      # this is a template type T object
end