Ver código fonte

implement back pointer

master
Patrick Peng Sun 8 anos atrás
pai
commit
86fd534a93
1 arquivos alterados com 3 adições e 0 exclusões
  1. +3
    -0
      chatState.go

+ 3
- 0
chatState.go Ver arquivo

@@ -53,6 +53,9 @@ func getCurrentState(openID string, procedure string) (result chatState, err err
}

func setCurrentState(openID, procedure string, state chatState) (newState chatState, err error) {
state.OpenID = openID
state.Procedure = procedure

j, err := json.Marshal(state)
if err != nil {
return

Carregando…
Cancelar
Salvar