소스 검색

Use maps for child spec example

pull/1789/head
Peter Saxton 7 년 전
committed by GitHub
부모
커밋
6bcbbf7526
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      priv/templates/sup.erl

+ 2
- 1
priv/templates/sup.erl 파일 보기

@ -26,7 +26,8 @@ start_link() ->
%% Supervisor callbacks
%%====================================================================
%% Child :: {Id,StartFunc,Restart,Shutdown,Type,Modules}
%% Child :: #{id => Id, start => {M, F, A}}
%% Optional keys are restart, shutdown, type, modules.
init([]) ->
{ok, { {one_for_all, 0, 1}, []} }.

불러오는 중...
취소
저장