Project

General

Profile

Task #17838

Simplify data structures

Added by Sachin Divekar about 1 year ago. Updated about 1 year ago.

Status:
Dropped
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

We can simplify the following data structures:

type Attr struct {
    name string
    val  string
}
type Property struct {
    name string
    val  string
}

We can have a simple map[string]string for Attr and Property.

Make the required changes in the code and tests and verify that the tests pass.

Also available in: Atom PDF