pub fn try_good_morning(deps: DepsMut) -> Result<Response, ContractError> {
    // Rework the count example from cw-template to be a count of how many times GoodMorning has been called
    STATE.update(deps.storage, |mut state| -> Result<_, ContractError> {
        state.count += 1;
        Ok(state)
    })?;

    Ok(Response::new().add_attribute("method", "try_good_morning"))
}
/// attempt to say good_morning. A simple example of how you can handle an ExecuteMsg with no input.
attempt to say good_morning. A simple example of how you can handle an ExecuteMsg with no input.
attempt to say good_morning . A simple example of how you can handle an ExecuteMsg with no input .
pub fn try_good_morning(deps: DepsMut) -> Result<Response, ContractError> {
    // Rework the count example from cw-template to be a count of how many times GoodMorning has been called
    STATE.update(deps.storage, |mut state| -> Result<_, ContractError> {
        state.count += 1;
        Ok(state)
    })?;
    Ok(Response::new().add_attribute("method", "try_good_morning"))
}
pub fn try_good_morning ( deps : DepsMut ) -> Result < Response , ContractError > { // Rework the count example from cw-template to be a count of how many times GoodMorning has been called STATE . update ( deps . storage , | mut state | -> Result < _ , ContractError > { state . count += 1 ; Ok ( state ) } ) ? ; Ok ( Response :: new ( ) . add_attribute ( " " , " " ) ) }
attempt to say good_morning.
attempt to say good_morning .
deps
DepsMut
deps
DepsMut