noob solidity question… if I have a struct that looks like this:
struct Special {
string name;
address[] deals;
mapping (address => string[5]) dealNames;
}
how can I initialize a new "Special" with an empty deals array and empty dealNames mapping, having only a string for name.
I've tried this and it errors out (obviously?)
Special special = Special({
name: "bingo",
deals: [],
dealNames: {}
});