Closed LdDl closed 3 years ago
Is your feature request related to a problem? Please describe. Currently field
type Vertex struct { ... importance int ... }
is unexported. For extended debugging in external appliactions and import/export function we need to make getter/setter for it.
Describe the solution you'd like and provide pseudocode examples if you can Pretty simple getter/setter combo:
func (vertex *Vertex) Importance() int { return vertex.importance } func (vertex *Vertex) SetImportance(importance int){ vertex.importance = importance }
Describe alternatives you've considered and provide pseudocode examples if you can Nope
Additional context Nope
Is your feature request related to a problem? Please describe. Currently field
is unexported. For extended debugging in external appliactions and import/export function we need to make getter/setter for it.
Describe the solution you'd like and provide pseudocode examples if you can Pretty simple getter/setter combo:
Describe alternatives you've considered and provide pseudocode examples if you can Nope
Additional context Nope