Sfoglia il codice sorgente

implement back pointer

master
Patrick Peng Sun 8 anni fa
parent
commit
86fd534a93
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. +3
    -0
      chatState.go

+ 3
- 0
chatState.go Vedi File

@@ -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

Loading…
Annulla
Salva