Explorar el Código

implement back pointer

master
Patrick Peng Sun hace 8 años
padre
commit
86fd534a93
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      chatState.go

+ 3
- 0
chatState.go Ver fichero

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

Cargando…
Cancelar
Guardar